TT_MESSAGE_ABSTAINER(3)
π¦ tt_message_abstainer β library call, bestie π¦
Okay so weβre in the library call page for tt_message_abstainer, and itβs highkey giving ToolTalk API main character energy π
. This one returns an offerβs nth abstaining procid, no cap.
πΈ NAME πΈ
tt_message_abstainer β return offer's nth abstaining procid. Periodt. β¨
π SYNOPSIS π
#include &<Tt/tt_c.h>
char *tt_message_abstainer(
Tt_message m,
int n);
π DESCRIPTION π
Okay so the tt_message_abstainer function returns the procid of the nth abstainer of the specified message. Slay. π
Hereβs the arg tea:
- The
margument is the opaque handle for the message involved in this operation. Iconic. - The
nargument is the number of the abstainer to be returned.
And the indexing? The first abstainer is numbered zero, bestie. Zero. Not one. Periodt. π«Ά
π₯ RETURN VALUE π₯
Upon successful completion, the tt_message_abstainer function returns the procid of the nth abstainer. The application can use tt_ptr_error to extract one of the following Tt_status values from the returned pointer:
TT_OKβ the operation completed successfully. We love a clean win π .TT_ERR_PROCIDβ there is no valid default procid, perhaps becausett_openhas not yet been called. Not me forgettingtt_openπ.TT_ERR_NUMβ the integer value passed was invalid (out of range). Number said βnot todayβ π.TT_ERR_STATEβ the specified message is not in stateTT_RETURNED. Since onlyTT_OFFERscan be in stateTT_RETURNED, this status will be returned if the specified message is aTT_NOTICEor aTT_REQUEST.TT_ERR_POINTERβ the pointer passed does not point to an object of the correct type for this operation. Wrong-type vibe check failed, ngl π«.
π APPLICATION USAGE π
The application can use tt_free to free any data stored in the address returned by the ToolTalk API. Yes bestie, clean up after yourself β tt_free is the moment π§.
β SEE ALSO β
Tt/tt_c.h - Tttt_c(5)π¦tt_message_abstainers_count(3)tt_ptr_error(3)tt_free(3)
Byeee π«Ά source/version: tt_message_abstainer(library call); date: this pageβs footer didnβt print one, so Iβm not inventing a date, 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