os_rcv_fd_msg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 (fds array size). Yes, it's also the size of the fds array, 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