From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Christophe Lohr
<Christophe.Lohr-+sCGM1tQGJejRLBOWInFB+yrfmlZI2zM@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Bug about UNIX_PATH_MAX in the manpage of Unix(7)
Date: Wed, 06 May 2015 10:24:46 +0200 [thread overview]
Message-ID: <5549CFCE.3090103@gmail.com> (raw)
In-Reply-To: <4CD173D2.8020003-+sCGM1tQGJejRLBOWInFB+yrfmlZI2zM@public.gmane.org>
Christophe,
On 11/03/2010 03:38 PM, Christophe Lohr wrote:
> 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... :-(
Long after the fact... I've removed mention of UNIX_PATH_MAX from the page.
Thanks,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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
prev parent reply other threads:[~2015-05-06 8:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5549CFCE.3090103@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=Christophe.Lohr-+sCGM1tQGJejRLBOWInFB+yrfmlZI2zM@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.