[−][src]Function cloudabi::fd_create2
pub unsafe fn fd_create2(type_: filetype, fd1_: *mut fd, fd2_: *mut fd) -> errno
Creates a pair of file descriptors.
Parameters
type: Possible values:
SOCKET_DGRAM
: Creates a UNIX datagram socket pair.SOCKET_STREAM
: Creates a UNIX byte-stream socket pair.
fd1: The first file descriptor of the pair.
fd2: The second file descriptor of the pair.