1 SOCKIO(7I) Ioctl Requests SOCKIO(7I)
2
3
4
5 NAME
6 sockio - ioctls that operate directly on sockets
7
8 SYNOPSIS
9 #include <sys/sockio.h>
10
11
12 DESCRIPTION
13 The ioctls listed in this manual page apply directly to sockets,
14 independent of any underlying protocol. The setsockopt() call (see
15 getsockopt(3SOCKET)) is the primary method for operating on sockets,
16 rather than on the underlying protocol or network interface. ioctls for
17 a specific network interface or protocol are documented in the manual
18 page for that interface or protocol.
19
20 SIOCSPGRP
21 The argument is a pointer to an int. Set the process-
22 group ID that will subsequently receive SIGIO or SIGURG
23 signals for the socket referred to by the descriptor
24 passed to ioctl to the value of that int. The argument
25 must be either positive (in which case it must be a
26 process ID) or negative (in which case it must be a
27 process group).
28
29
30 SIOCGPGRP
31 The argument is a pointer to an int. Set the value of
32 that int to the process-group ID that is receiving SIGIO
33 or SIGURG signals for the socket referred to by the
34 descriptor passed to ioctl.
35
36
37 SIOCCATMARK
38 The argument is a pointer to an int. Set the value of
39 that int to 1 if the read pointer for the socket
40 referred to by the descriptor passed to ioctl points to
41 a mark in the data stream for an out-of-band message.
42 Set the value of that int to 0 if the read pointer for
43 the socket referred to by the descriptor passed to ioctl
44 does not point to a mark in the data stream for an out-
45 of-band message.
46
47
48 SEE ALSO
49 ioctl(2), getsockopt(3SOCKET)
50
51
52
53 November 8, 1996 SOCKIO(7I)
|
1 SOCKIO(7I) Ioctl Requests SOCKIO(7I)
2
3 NAME
4 sockio - ioctls that operate directly on sockets
5
6 SYNOPSIS
7 #include <sys/sockio.h>
8
9 DESCRIPTION
10 The ioctls listed in this manual page apply directly to sockets,
11 independent of any underlying protocol. The setsockopt(3SOCKET) call
12 (see getsockopt(3SOCKET)) is the primary method for operating on sockets,
13 rather than on the underlying protocol or network interface. ioctls for
14 a specific network interface or protocol are documented in the manual
15 page for that interface or protocol.
16
17 SIOCSPGRP The argument is a pointer to an int. Set the process-group
18 ID that will subsequently receive SIGIO or SIGURG signals
19 for the socket referred to by the descriptor passed to ioctl
20 to the value of that int. The argument must be either
21 positive (in which case it must be a process ID) or negative
22 (in which case it must be a process group).
23
24 SIOCGPGRP The argument is a pointer to an int. Get the value of that
25 int to the process-group ID that is receiving SIGIO or
26 SIGURG signals for the socket referred to by the descriptor
27 passed to ioctl.
28
29 SIOCCATMARK The argument is a pointer to an int. Set the value of that
30 int to 1 if the read pointer for the socket referred to by
31 the descriptor passed to ioctl(2) points to a mark in the
32 data stream for an out-of-band message. Set the value of
33 that int to 0 if the read pointer for the socket referred to
34 by the descriptor passed to ioctl does not point to a mark
35 in the data stream for an out-of-band message.
36
37 SEE ALSO
38 ioctl(2), getsockopt(3SOCKET)
39
40 illumos October 29, 2017 illumos
|