Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

io_receivefd - receive a file descriptor over a Unix Domain socket

Description

       io_receivefd  receives  a  file  descriptor  from the Unix Domain socket sock.  You can send a descriptor
       using io_passfd(3).

       io_receivefd returns -1 on error or the file descriptor.

       The underlying Unix API can send more than one descriptor at the time.  This function  expects  only  one
       descriptor and will return the first one if more than one were sent.

Name

       io_receivefd - receive a file descriptor over a Unix Domain socket

See Also

io_passfd(3)

                                                                                                 io_receivefd(3)

Syntax

#include<libowfat/io.h>

       int64 io_receivefd(int64 sock);

See Also