Bug about UNIX_PATH_MAX in the manpage of Unix(7)

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

File: /usr/share/man/man7/unix.7.gz
Version: 3.25-1
System: debian testing

  Manpage of Unix(7) says:

|           #include <sys/socket.h>
|           #include <sys/un.h>
|       Address Format
| A Unix domain socket address is represented in the following structure:
|               #define UNIX_PATH_MAX    108
|               struct sockaddr_un {
|                   sa_family_t sun_family;               /* AF_UNIX */
|                   char        sun_path[UNIX_PATH_MAX];  /* pathname */
|               };

However, UNIX_PATH_MAX is not defined in the mentioned include <sys/un.h>.
In fact, these definitions come from <linux/un.h>.

There is a confusion between the two includes (sys/un.h and linux/un.h).

Maybe they should be merged, but today it is not the case... :-(


To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Memory]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

  Powered by Linux