TT_OTYPE_BASE(3)
β¨ NAME β¨
okay so bestie, we're in the library call manual, and this page is all about tt_otype_base β it returns the base otype of an otype. π
πΈ SYNOPSIS πΈ
#include &<Tt/tt_c.h>
char *tt_otype_base(
const char *otype);
π DESCRIPTION π
The tt_otype_base function returns the base otype of the given otype, or NULL if the given otype is not derived. no cap. β¨
The otype argument is the object type involved in this operation. that's the vibe. π¦
π RETURN VALUE π
Upon successful completion, the tt_otype_base function returns the name of the base otype; if the given otype is not derived, this value is NULL. The application can use tt_ptr_error(3) to extract one of the following Tt_status values from the returned pointer:
TT_OKβ The operation completed successfully. πTT_ERR_NOMPβ Thettsession(1)process is not running and the ToolTalk service cannot restart it. πTT_ERR_OTYPEβ The specified object type is not the name of an installed object type. π«Ά
π§ APPLICATION USAGE π§
The application should use tt_free(3) to free any data stored in the address returned by the ToolTalk API. literally don't forget, bestie. π
π SEE ALSO π
Tt/tt_c.h - Tttt_c(5), tt_otype_is_derived(3), tt_otype_derived(3), tt_otype_deriveds_count(3), tt_spec_type(3), tt_message_otype(3), tt_ptr_error(3), tt_free(3).
footer check bestie: this is the library call page for tt_otype_base β no separate source/version or date line was printed, so consider this the official cute sign-off. ππ¦β¨
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms