TTDT_CLOSE(3)
β¨ NAME β¨
ttdt_close β destroy a ToolTalk communication endpoint.
Bestie, welcome to the ttdt_close library call page. That's the whole name vibe: it destroys a ToolTalk communication endpoint. Periodt. π
π οΈ SYNOPSIS π οΈ
#include &<Tt/tttk.h>
Tt_status ttdt_close(
const char *procid,
const char *new_procid,
int sendStopped);
π DESCRIPTION π
Okay so the ttdt_close function destroys a ToolTalk communication endpoint. That's the main character move, no cap. β¨
Here's the tea:
- If
sendStoppedisTrue,ttdt_closesends aStoppednotice; otherwise, it sends no notice. - If
procidis notNULL,ttdt_closecallstt_default_procid_setwith aprocidargument and then callstt_close; otherwise, it closes the current default procid. - If
new_procidis notNULL,ttdt_closecallstt_default_procid_setwith anew_procidargument.
That βand thenβ is doing real work in bullet two, bestie β set the procid, then close. Slay. π₯
π RETURN VALUE π
The ttdt_close function may return any of the errors returned by tt_default_procid_set(3) and tt_close(3).
β οΈ No errors are propagated if sending the Stopped notice fails. Like, that failure does not get passed along β noted, bestie. π
π SEE ALSO π
Tt/tttk.h-Tttttk(5)ttdt_open(3)tt_default_procid_set(3)tt_close(3)
Final footer vibes: ttdt_close is a library call, and the original footer has no source/version line and no date line to copy β so this is your sparkly sign-off, bestie. πππ¦
π¦ 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