TT_SESSION_TYPES_LOAD(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ‘‘ NAME πŸ‘‘

tt_session_types_load β€” merge a compiled ToolTalk types file into the running ttsession. Bestie, this is a library call page, and the manual name is giving tt_session_types_load(library call) β€” iconic, we love a clear title.

✨ SYNOPSIS ✨

#include &<Tt/tt_c.h>
Tt_status tt_session_types_load(
const char *session,
const char *filename);

πŸŽ€ DESCRIPTION πŸŽ€

The tt_session_types_load function merges a compiled ToolTalk types file into the running ttsession(1). Like, it's literally squishing that compiled types file into the live session vibe.

  • session β€” the name of the running session. yes, the session that's currently running, bestie
  • filename β€” the name of the compiled ToolTalk types file. the compiled ToolTalk types file, exactly

πŸ”₯ RETURN VALUE πŸ”₯

Upon successful completion, the tt_session_types_load function returns the status of the operation as one of the following Tt_status values:

  • TT_OK β€” the operation completed successfully. slay, we ate ✨
  • TT_ERR_NOMP β€” the ttsession(1) process is not running and the ToolTalk service cannot restart it. oof, no main character process 😭
  • TT_ERR_SESSION β€” the specified ToolTalk session is out of date or invalid. vibe check failed, that session is stale πŸ’€
  • TT_ERR_FILE β€” the specified file does not exist or it is inaccessible. file said goodbye, or it's locked away πŸ™ˆ
  • TT_ERR_UNIMP β€” the ToolTalk function called is not implemented. not me finding out this function is not implemented πŸ’…

🌈 SEE ALSO 🌈


okay that's the whole tt_session_types_load(library call) footer situation β€” it just repeats the manual name, no extra version/date tea, so bye bestie, go merge those types with confidence πŸ«ΆπŸ’–πŸŽ€

πŸ“¦ where this page comes from