SOCKIO(7I) Ioctl Requests SOCKIO(7I) NNAAMMEE ssoocckkiioo - ioctls that operate directly on sockets SSYYNNOOPPSSIISS ##iinncclluuddee <> DDEESSCCRRIIPPTTIIOONN The iiooccttlls listed in this manual page apply directly to sockets, independent of any underlying protocol. The setsockopt(3SOCKET) call (see getsockopt(3SOCKET)) is the primary method for operating on sockets, rather than on the underlying protocol or network interface. iiooccttlls for a specific network interface or protocol are documented in the manual page for that interface or protocol. SIOCSPGRP The argument is a pointer to an _i_n_t. Set the process-group IIDD that will subsequently receive SIGIO or SIGURG signals for the socket referred to by the descriptor passed to iiooccttll to the value of that _i_n_t. The argument must be either positive (in which case it must be a process IIDD) or negative (in which case it must be a process group). SIOCGPGRP The argument is a pointer to an _i_n_t. Get the value of that _i_n_t to the process-group IIDD that is receiving SIGIO or SIGURG signals for the socket referred to by the descriptor passed to iiooccttll. SIOCCATMARK The argument is a pointer to an _i_n_t. Set the value of that _i_n_t to 11 if the read pointer for the socket referred to by the descriptor passed to ioctl(2) points to a mark in the data stream for an out-of-band message. Set the value of that _i_n_t to 00 if the read pointer for the socket referred to by the descriptor passed to iiooccttll does not point to a mark in the data stream for an out-of-band message. SSEEEE AALLSSOO ioctl(2), getsockopt(3SOCKET) illumos October 29, 2017 illumos