TT_PATTERN_OBJECT_ADD(3)

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

πŸ’– NAME πŸ’–

tt_pattern_object_add β€” from the library call manual, and bestie, it adds a value to the object field of a pattern. That’s the whole assignment ✨.

✨ SYNOPSIS ✨

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

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so tt_pattern_object_add adds a value to the object field of the pattern you pass in. Slay.

The p argument is a unique handle for a message pattern. You get this handle back after tt_pattern_create(3) is called. The objid argument is the identifier for the specified object. And yes β€” both tt_spec_create(3) and tt_spec_move(3) return objids. Periodt πŸ’….

πŸŽ€ RETURN VALUE πŸŽ€

Upon successful completion, tt_pattern_object_add returns the status of the operation as one of these Tt_status values:

  • TT_OK β€” the operation completed successfully. Iconic.
  • 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. πŸ’€

🌈 SEE ALSO 🌈


that’s the whole page, bestie β€” footer says tt_pattern_object_add(library call), and there’s no date printed on this one, so I’m not making one up πŸ«ΆπŸ’–

πŸ“¦ where this page comes from