socket.2: DOMAIN's are defined in <bits/socket.h> not <sys/socket.h>
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
man2/socket.2 The · line 67
Quoted 13 lines · Anvar Nasar
man2/socket.2 +1
-1@@ -61,7 +61,7 @@ The argument specifies a communication domain; this selects the protocol family which will be used for communication. These families are defined in -.IR <sys/socket.h> . +.IR <bits/socket.h> . The formats currently understood by the Linux kernel include: .TS tab(:);
<bits/socket.h> is included by <sys/socket.h>. <sys/socket.h> is the standards-compliant way of getting the definitions.
Thanks,
Michael
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/