TTDT_SESSION_QUIT(3)

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

πŸ’– NAME πŸ’–

Okay so this page is the library call for ttdt_session_quit β€” and its whole job is literally to quit a ToolTalk session. periodt. πŸ’…


🌸 SYNOPSIS 🌸

It’s giving C signature realness, so copy this exactly, bestie:

#include &<Tt/tttk.h>
Tt_status ttdt_session_quit(
const char *sessid,
Tt_pattern *sess_pats,
int quit);

✨ DESCRIPTION ✨

The way that ttdt_session_quit works is: it destroys the patterns in sess_pats. 🫢

And if quit is True, it quits the session sessid β€” or the default session if sessid is NULL. No cap. 🌈


πŸ’€ RETURN VALUE πŸ’€

When it finishes successfully, ttdt_session_quit 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 you passed does not point to an object of the correct type for this operation. πŸ™ˆ
  • TT_ERR_PROCID β€” the specified process identifier is out of date or invalid. πŸ’€
  • TT_ERR_SESSION β€” the specified ToolTalk session is out of date or invalid. 🫠

πŸ¦‹ SEE ALSO πŸ¦‹

Go peek at these, iykyk:


Okay that’s the page, bestie πŸ’– This was the library call footer vibe for ttdt_session_quit β€” and the original doesn’t hand over a separate source/version or date line, so I’m not inventing one. Consider that your cute little sign-off. πŸŽ€πŸŒŸ

πŸ“¦ where this page comes from