TT_PATTERN_SCOPE_ADD(3)
β¨ NAME β¨
tt_pattern_scope_add β add a value to the scope field for a pattern. Okay bestie, this is the tt_pattern_scope_add page from the library call manual π
π¦ SYNOPSIS π¦
#include &<Tt/tt_c.h>
Tt_status tt_pattern_scope_add(
Tt_pattern p,
Tt_scope s);
π DESCRIPTION π
So tt_pattern_scope_add is the function that adds a value to the scope field for the pattern you're working with. 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 s argument specifies what processes are eligible to receive the message. The following values are defined:
TT_SESSIONβ all processes joined to the indicated session are eligible. πTT_FILEβ all processes joined to the indicated file are eligible. πTT_BOTHβ all processes joined to either indicated file or the indicated session are eligible. β¨TT_FILE_IN_SESSIONβ all processes joined to both the indicated file and the indicated session are eligible. π¦
π RETURN VALUE π
Upon successful completion, tt_pattern_scope_add returns the status of the operation as one of the following Tt_status values:
TT_OKβ the operation completed successfully. πTT_ERR_NOMPβ thettsession(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 π
Peep these: Tt/tt_c.h - Tttt_c(5), tt_pattern_create(3).
byeee from the library call edition of tt_pattern_scope_add β source/version/date footer vibe included, bestie ππ«Ά
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms