TT_MESSAGE_OPNUM(3)
β¨ NAME β¨
Okay bestie, welcome to the tt_message_opnum page from the library call manual π This one is all about pulling the operation number attribute out of a message, and honestly? Itβs giving βsmall function, big main-character energyβ β¨
π¦ SYNOPSIS π¦
#include &<Tt/tt_c.h>
int tt_message_opnum(
Tt_message m);
π DESCRIPTION π
The tt_message_opnum function retrieves the operation number attribute from the specified message. Literally its whole job, and it ate π
The m argument is the opaque handle for the message involved in this operation. Opaque handle, bestie β donβt go poking at its insides, just pass it through π«Ά
π RETURN VALUE π
Upon successful completion, the tt_message_opnum function returns the number of the operation involved in this message. The application can use tt_int_error(3) to extract one of the following Tt_status values from the returned integer:
TT_OKβ the operation completed successfully. Slay β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. Wrong-vibe pointer energy π
π SEE ALSO π
Tt/tt_c.h β literally Tttt_c(5), tt_int_error(3). Yep, thatβs the spelling in the page, bestie, Iβm not touching it π
Cute lil sign-off: this is the tt_message_opnum page in the library call manual, and the footer/source tag is just that same library call identifier β no separate date or extra version line is listed in the source, so thatβs the whole page, periodt ππβ¨
π¦ 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