TT_MESSAGE_ARG_TYPE(3)
bestie, welcome to the tt_message_arg_type(library call) manual page β yes, that's the manual name, and we're getting into it π
πΈ NAME πΈ
tt_message_arg_type β retrieve the type of a message argument. iconic little lookup behavior, no cap β¨
π SYNOPSIS π
#include &<Tt/tt_c.h>
char *tt_message_arg_type(
Tt_message m,
int n);
π¦ DESCRIPTION π¦
The tt_message_arg_type function retrieves the type of the nth message argument. literally its whole job π
The m argument is the opaque handle for the message involved in this operation. The n argument is the number of the argument to be retrieved. The first argument is numbered zero β yes bestie, zero-indexed, we love to see it π«Ά
β RETURN VALUE β
Upon successful completion, the tt_message_arg_type function returns the type of the nth message argument. The application can use tt_ptr_error(3) to extract one of the following Tt_status values from the returned pointer:
TT_OKβ the operation completed successfully. slay βTT_ERR_NOMPβ thettsession(1)process is not running and the ToolTalk service cannot restart it. πTT_ERR_NUMβ the integer value passed was invalid (out of range). not the range check catching you πTT_ERR_POINTERβ the pointer passed does not point to an object of the correct type for this operation. wrong-type vibes, rejected π
π APPLICATION USAGE π
The application can use tt_free(3) to free any data stored in the address returned by the ToolTalk API. cleanup era, bestie π§Ήβ¨
π SEE ALSO π
Tt/tt_c.h-Tttt_c(5),tt_ptr_error(3),tt_free(3).
and that's the whole page, bestie β the footer/source-version-date slot is just tt_message_arg_type(library call) doing an encore, with no separate version or date tea beyond that. 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