TT_PATTERN_DESTROY(3)

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

🌸 NAME 🌸

tt_pattern_destroy β€” destroy a pattern object πŸ’…

okay so this is the library call manual page for tt_pattern_destroy, and bestie, the name is literally the whole vibe: it destroys a pattern object. iconic.

✨ SYNOPSIS ✨

#include &<Tt/tt_c.h>
Tt_status tt_pattern_destroy(
Tt_pattern p);

πŸ¦‹ DESCRIPTION πŸ¦‹

The tt_pattern_destroy function destroys a pattern object. no cap.

Destroying a pattern object automatically unregisters the pattern with the ToolTalk service. the way that cleanup just happens? obsessed.

The p argument is a unique handle for a message pattern. this handle is returned after tt_pattern_create(3) is called. iykyk.

πŸ’– RETURN VALUE πŸ’–

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

  • TT_OK β€” the operation completed successfully. slay ✨
  • 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 🌈

Tt/tt_c.h - Tttt_c(5), tt_pattern_register(3), tt_pattern_create(3).


mwah πŸ’‹ β€” cute sign-off from the library call manual page for tt_pattern_destroy; the footer didn’t hand me a source/version or date, so this is the whole footer moment πŸ«ΆπŸŽ€.

πŸ“¦ where this page comes from