tipc_release(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to tipc_release(9) from the Kernel API Manual ✨ β€” she's the routine that destroys a TIPC socket, and she is literally giving cleanup main character energy πŸ’…


πŸŽ€ NAME πŸŽ€

tipc_release β€” destroy a TIPC socket

✨ SYNOPSIS ✨

int tipc_release (struct socket *sock );

🫢 ARGUMENTS 🫢

  • sock β€” the socket to destroy. yep, that's the one we're cleaning up, bestie.

🧚 DESCRIPTION 🧚

okay so this routine cleans up any messages that are still queued on the socket. no cap, it's giving tiny janitor with a clipboard 🧹✨

  • For DGRAM and RDM socket types, all queued messages are rejected.
  • For SEQPACKET and STREAM socket types, the first message is rejected and any others are discarded.
  • If the first message on a STREAM socket is partially-read, it is discarded and the next one is rejected instead.

😭 NOTE 😭

Rejected messages are not necessarily returned to the sender! They are returned or discarded according to the "destination droppable" setting specified for the message by the sender. iykyk πŸ’€

πŸ”₯ RETURN πŸ”₯

0 on success, errno otherwise. slay.

πŸ’œ SEE ALSO πŸ’œ

go say hi to the whole TIPC friend group, bestie 🫢:


byeee πŸ’– this page's source/version is ./net/tipc, dated October 2026, and it's the tipc_release(9) era forever. periodt. πŸ¦‹

πŸ“¦ where this page comes from