TT_POINTER_ERROR(3)

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

tt_pointer_error β€” from the library call manual, bestie πŸ’–

🌸 NAME 🌸

tt_pointer_error β€” return the status of a pointer. That's it, that's the job, and it's lowkey iconic. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

       #include &<Tt/tt_c.h>
       Tt_status tt_pointer_error(
       void *pointer);

πŸŽ€ DESCRIPTION πŸŽ€

Okay so tt_pointer_error returns the status of the pointer you hand it. Simple, clean, no drama. πŸ’…

If you pass an opaque pointer (Tt_message or Tt_pattern) or a character pointer (char *), this function returns TT_OK if the pointer is valid, or the encoded Tt_status value if the pointer is an error object. No cap. 🫢

The pointer argument is the opaque pointer or character pointer to be checked. That's the whole vibe. 🌈

πŸ”₯ RETURN VALUE πŸ”₯

Upon successful completion, tt_pointer_error returns the status of the operation as one of these Tt_status values:

  • TT_OK β€” the operation completed successfully. πŸ’–
  • TT_ERR_NOMP β€” the ttsession(1) process is not running and the ToolTalk service cannot restart it. 😭
  • TT_ERR_POINTER β€” the pointer passed does not point to an object of the correct type for this operation. πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘


Okay that's the whole page, bestie β€” this one lives in the library call manual, and the footer doesn't give a version or date, so I'm not gonna invent one. πŸ’…πŸ«Άβœ¨

πŸ“¦ where this page comes from