TT_PATTERN_CONTEXT_ADD(3)

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

πŸ’– NAME πŸ’–

okay so bestie, this page is tt_pattern_context_add β€” and yep, it's from the library call manual section. Its whole job? add a string value to the values of this pattern's context. That's it. iconic. πŸ’…

✨ SYNOPSIS ✨

#include &<Tt/tt_c.h>
Tt_status tt_pattern_context_add(
Tt_pattern p,
const char *slotname,
const char *value);

πŸ¦‹ DESCRIPTION πŸ¦‹

The tt_pattern_context_add function adds a string value to the values of this pattern's context. no cap. πŸ’–

If the value pointer is NULL, a slot is created with the specified name but no value is added β€” so the slot is literally just sitting there, empty, and that's by design. 🫢

  • p β€” the opaque handle for the pattern involved in this operation. main-character handle energy. πŸ‘‘
  • slotname β€” describes the context of this pattern. πŸŽ€
  • value β€” the value to be added. πŸ“

πŸ”₯ RETURN VALUE πŸ”₯

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

  • TT_OK β€” The operation completed successfully. βœ…
  • TT_ERR_UNIMP β€” The ToolTalk function called is not implemented. πŸ™ˆ
  • TT_ERR_NOMP β€” The ttsession(1) process is not running and the ToolTalk service cannot restart it. 😭
  • TT_ERR_POINTER β€” The pointer passed does not point to an object of the correct type for this operation. πŸ’€
  • TT_ERR_SLOTNAME β€” The specified slotname is syntactically invalid. 🚫

🌈 SEE ALSO 🌈

Go peek at: Tt/tt_c.h - Tttt_c(5). πŸ‘€βœ¨


source/version + date check, bestie: the footer is just tt_pattern_context_add(library call) β€” no separate date stamped on this one, so I'm not inventing one. kisses! πŸ«ΆπŸ’–

πŸ“¦ where this page comes from