Contents

sock_ioctl

Declaration

errno_t sock_ioctl(socket_t so, unsigned long request, void *argp);

Parameters

  • so:

    The socket.

  • request:

    The ioctl name.

  • argp:

    The argument.

Return Value

0 on success otherwise the errno error.

Discussion

Performs an ioctl operation on a socket. See 'man 2 ioctl'.

See Also

Network Kernel Extensions