TT_PATTERN_CATEGORY_SET(3)
π tt_pattern_category_set β library call, bestie π
πΈ NAME πΈ
tt_pattern_category_set β fill in the category field for a pattern. that's the whole assignment, and it ate π
β¨ SYNOPSIS β¨
#include &<Tt/tt_c.h>
Tt_status tt_pattern_category_set(
Tt_pattern p,
Tt_category c);
π¦ DESCRIPTION π¦
okay so, the tt_pattern_category_set function fills in the category field for the specified pattern. literally its one job, and it's serving β¨
The p argument is a unique handle for a message pattern. This handle is returned after tt_pattern_create(3) is called. so yeah, that's where the pattern handle comes from β no cap π«Ά
The c argument indicates whether the receiving process will observe or handle messages. The following values are defined:
TT_OBSERVEβ The receiving process will observe messages. πTT_HANDLEβ The receiving process will handle messages. π
π₯ RETURN VALUE π₯
Upon successful completion, the tt_pattern_category_set function returns the status of the operation as one of the following Tt_status values:
TT_OKβ The operation completed successfully. slay βTT_ERR_CATEGORYβ The pattern object has no category set. awkward πTT_ERR_NOMPβ Thettsession(1)process is not running and the ToolTalk service cannot restart it. big yikes πTT_ERR_POINTERβ The pointer passed does not point to an object of the correct type for this operation. pointer said wrong vibe π
π SEE ALSO π
go look at: Tt/tt_c.h - Tttt_c(5), tt_pattern_category(3), tt_pattern_create(3).
that's the page, bestie. the footer is tt_pattern_category_set(library call) with no separate source/version/date listed β so consider this your cute 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