os_rcv_fd_msg(9)
π NAME
os_rcv_fd_msg β receive message with (optional) FDs. This is the os_rcv_fd_msg(9) page, straight from the Kernel API Manual, and it's literally here to receive a message with FDs β optional ones included, no cap.
β¨ SYNOPSIS β¨
ssize_t os_rcv_fd_msg (int fd , int *fds , unsigned int n_fds , void
*data , size_t data_len );
π ARGUMENTS π
fdβ the FD to receive from. The source of the whole situation.fdsβ the array for FDs to write to. This is where the FD lore gets stored.n_fdsβ number of FDs to receive (fdsarray size). Yes, it's also the size of thefdsarray, periodt.dataβ the message buffer. The message lives here.data_lenβ the size of the message to receive. The length check is giving necessary.
π¦ DESCRIPTION π¦
Okay so the actual function tea: receive a message with FDs. That's it. That's the whole description. Message received, FDs optionally in the group chat, and the function is serving exactly that energy. Short, iconic, periodt.
β RETURN β
Your return value is the size of the received message, or an error code. That's the whole drop, bestie β size or error, nothing more.
πΈ SEE ALSO πΈ
- Kernel file
./arch/um/os-Linux/file.cβ the only SEE ALSO reference on the page, iykyk.
Before you close the tab: this page is under ./arch/um/os-Linux, dated October 2026, and it's serving os_rcv_fd_msg(9) energy. Stay hydrated and may your FDs be optional. πβ¨π¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms