All of lore.kernel.org
 help / color / mirror / Atom feed
* Bug about UNIX_PATH_MAX in the manpage of Unix(7)
@ 2010-11-03 14:38 Christophe Lohr
       [not found] ` <4CD173D2.8020003-+sCGM1tQGJejRLBOWInFB+yrfmlZI2zM@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe Lohr @ 2010-11-03 14:38 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

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


Hi,
   Manpage of Unix(7) says:

---------------------------------
|    SYNOPSIS
|           #include <sys/socket.h>
|           #include <sys/un.h>
(../..)
|    DESCRIPTION
(../..)
|
|       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... :-(

Regards,
Christophe

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-06  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-03 14:38 Bug about UNIX_PATH_MAX in the manpage of Unix(7) Christophe Lohr
     [not found] ` <4CD173D2.8020003-+sCGM1tQGJejRLBOWInFB+yrfmlZI2zM@public.gmane.org>
2015-05-06  8:24   ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.