TT_PATTERN_SENDER_ADD(3)
π tt_pattern_sender_add π
okay so this page is a library call, bestie, and it's literally about adding a value to the sender field for a pattern. group-chat summary: you have a message pattern, you want its sender field to include a procid, and this function is the girl for the job. β¨
πΈ NAME πΈ
tt_pattern_sender_add β add a value to the sender field for a pattern.
β¨ SYNOPSIS β¨
#include &<Tt/tt_c.h>
Tt_status tt_pattern_sender_add(
Tt_pattern p,
const char *procid);
π¦ DESCRIPTION π¦
The tt_pattern_sender_add function adds a value to the sender field for the specified pattern. no cap, that's her whole thing. π
The p argument is a unique handle for a message pattern. This handle is returned after tt_pattern_create(3) is called. so like, make the pattern first, then bring her the handle. π«Ά
The procid argument is the character value that uniquely identifies the process of interest. that's the sender value you're adding, bestie. π
π₯ RETURN VALUE π₯
Upon successful completion, the tt_pattern_sender_add function returns the status of the operation as one of the following Tt_status values:
TT_OKβ The operation completed successfully. slay. πTT_ERR_NOMPβ Thettsession(1)process is not running and the ToolTalk service cannot restart it. not the vibe. πTT_ERR_POINTERβ The pointer passed does not point to an object of the correct type for this operation. wrong-type energy, and she is not here for it. π
π SEE ALSO π
Tt/tt_c.h - Tttt_c(5), tt_pattern_create(3).
π source/version: library call Β· date: not listed in the footer, bestie β that's the whole sign-off, mwah! π
π¦ 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