TT_XCONTEXT_JOIN(3)

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

🫢 tt_xcontext_join β€” library call page, bestie 🫢

okay so welcome to the tt_xcontext_join library call manual, where we add XDR-interpreted byte-array values to a list and try not to spiral. it’s giving β€œniche Unix but make it cute” πŸ’…

✨ NAME ✨

tt_xcontext_join β€” add an XDR-interpreted byte-array to the list of values πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

#include &<Tt/tt_c.h>
Tt_status tt_xcontext_join(
       const char *slotname,
       xdrproc_t xdr_proc,
       void *value);

🌸 DESCRIPTION 🌸

so basically, tt_xcontext_join adds the given XDR-interpreted byte-array value to the list of values for the named contexts of all patterns. yes bestie, all patterns. no cap.

the slotname argument describes the slotname in this message. got it? the slotname is doing slotname things.

the xdr_proc argument points to the XDR procedure that’s used to serialize the data pointed to by value. and value itself is the data to be serialized. iconic little trio, honestly πŸ¦‹

πŸ‘‘ RETURN VALUE πŸ‘‘

upon successful completion, tt_xcontext_join returns the status of the operation as one of these Tt_status values:

  • TT_OK β€” the operation completed successfully. slay.
  • TT_ERR_NOMP β€” the ttsession(1) process is not running and the ToolTalk service cannot restart it. 😭
  • TT_ERR_SLOTNAME β€” the specified slotname is syntactically invalid. rude, but valid.
  • TT_ERR_XDR β€” the XDR procedure failed on the given data, or evaluated to a zero-length expression. πŸ’€

🌈 SEE ALSO 🌈

peep Tt/tt_c.h β€” and Tttt_c(5) is right there too. iykyk 🫢


and that’s the whole tt_xcontext_join(library call) footer vibe, bestie β€” no extra source/version/date gossip on this one, so this is where we sign off πŸ’‹βœ¨

πŸ“¦ where this page comes from