Re: [patch] socket.2: DOMAIN's are defined in <bits/socket.h> not <sys/socket.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/28/20 6:13 PM, Anvar Nasar wrote:
> diff --git a/man2/socket.2 b/man2/socket.2
> index 0b3b90bb8..3c4f025d2 100644
> --- a/man2/socket.2
> +++ b/man2/socket.2
> @@ -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


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux