TT_PTYPE_EXISTS(3)

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

πŸŽ€ tt_ptype_exists β€” library call πŸŽ€

✨ NAME ✨

tt_ptype_exists β€” the function that indicates whether a ptype is already installed, aka the ptype vibe check πŸ’…

🌸 SYNOPSIS 🌸

       #include &<Tt/tt_c.h>
       Tt_status tt_ptype_exists(
       const char *ptid);

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so bestie, the tt_ptype_exists function returns an indication of whether a ptype is already installed. That's literally the whole main character move.

The ptid argument is the character string specifying the ptype. Iconic, simple, no cap 🫢

πŸ’– RETURN VALUE πŸ’–

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

  • TT_OK β€” the operation completed successfully and the ptype is already installed. βœ…
  • TT_ERR_NOMP β€” the ttsession(1) process is not running and the ToolTalk service cannot restart it. 😭
  • TT_ERR_PTYPE β€” the specified process type is not the name of an installed process type. πŸ’€

🌈 SEE ALSO 🌈


xoxo, signing off from the tt_ptype_exists (library call) corner 🫢 β€” that's the source/version footer energy, and bestie there's no date on this page, so I'm not inventing one πŸ’…

πŸ“¦ where this page comes from