TT_MESSAGE_ARG_VAL_SET(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

🌸 NAME 🌸

Okay bestie, this page is tt_message_arg_val_set, and it’s a library call β€” the whole job is changing the value of a message argument. That’s it. That’s the vibe. πŸ’…


✨ SYNOPSIS ✨

#include &<Tt/tt_c.h>
Tt_status tt_message_arg_val_set(
Tt_message m,
int n,
const char *value);

πŸ’– DESCRIPTION πŸ’–

The tt_message_arg_val_set function changes the value of the *n*th message argument. Slay.

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 changed. The first argument is numbered zero β€” yes, zero-indexed, we love that for us. The value argument is the contents for the message argument. πŸŽ€


πŸ”₯ RETURN VALUE πŸ”₯

Upon successful completion, the tt_message_arg_val_set function returns the status of the operation as one of the following Tt_status values:

  • TT_OK β€” The operation completed successfully. Iconic. βœ…
  • TT_ERR_NOMP β€” The ttsession(1) process is not running and the ToolTalk service cannot restart it. 😭
  • TT_ERR_NUM β€” The integer value passed was invalid (out of range). 🚫
  • TT_ERR_POINTER β€” The pointer passed does not point to an object of the correct type for this operation. πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹


🫢 that’s the whole page, bestie. Cute sign-off: this one comes from the library call manual β€” tt_message_arg_val_set β€” and the original footer didn’t give us any extra date/version tea beyond that, so that’s all the source info we’ve got. πŸ’œ

πŸ“¦ where this page comes from