TT_MESSAGE_REJECTER(3)
π tt_message_rejecter β like, the library call one
okay so bestie, welcome to tt_message_rejecter from the ToolTalk C library (tt_c.h) β¨ this is a library call page, and we are getting into it.
πΈ NAME πΈ
tt_message_rejecter β returns the procid of the nth rejecter of an offer. that's the whole vibe. no cap.
π SYNOPSIS π
#include <Tt/tt_c.h>
char *tt_message_rejecter(
Tt_message m,
int n);
π¦ DESCRIPTION π¦
okay so picture this: the tt_message_rejecter function returns the procid of the *n*th rejecter of the message you specify. that's it. that's the function. she's simple, she's iconic π
mβ the opaque handle for the message involved in this operation. opaque means you don't peek inside her, you just hold her hand π«Άnβ the number of the rejecter to be returned. and listen: the first rejecter is numbered zero. zero-indexed, because of course it is π
β RETURN VALUE β
upon successful completion, tt_message_rejecter returns the procid of the *n*th rejecter. slay π
but here's the thing β your application can use tt_ptr_error to extract one of these Tt_status values from the returned pointer, so let's do the vibe check:
TT_OKβ the operation completed successfully. we love a clean run β¨TT_ERR_PROCIDβ there is no valid default procid, maybe becausett_openhas not yet been called. like, she hasn't been introduced yet, bestie πTT_ERR_NUMβ the integer value you passed was invalid (out of range). you asked for a rejecter that does not exist, and the universe said no πTT_ERR_STATEβ the specified message is not in stateTT_RETURNED. and since onlyTT_OFFERs can be in stateTT_RETURNED, you'll get this status if the message you specified is aTT_NOTICEor aTT_REQUEST. wrong message, wrong era, not her moment πTT_ERR_POINTERβ the pointer you passed does not point to an object of the correct type for this operation. type mismatch, respectfully π
π APPLICATION USAGE π
your application can use tt_free to free any data stored in the address returned by the ToolTalk API. please free your stuff, bestie β main character energy includes cleaning up after yourself π§
π SEE ALSO π
and that's the page, periodt π this was tt_message_rejecter(library call) β courtesy of the ToolTalk library source, dated however old this manpage is (the footer literally just repeats tt_message_rejecter(library call), so like... she said the same thing twice, and honestly? relatable π). go forth and reject gracefully ππ₯
π¦ 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