diff --git a/man3/shm_open.3 b/man3/shm_open.3 index 1a83cb12b..c64c2a102 100644 --- a/man3/shm_open.3 +++ b/man3/shm_open.3 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" FIXME . Add an example to this page -.TH SHM_OPEN 3 2009-02-20 "Linux" "Linux Programmer's Manual" +.TH SHM_OPEN 3 2009-02-25 "Linux" "Linux Programmer's Manual" .SH NAME shm_open, shm_unlink \- Create/open or unlink POSIX shared memory objects .SH SYNOPSIS @@ -61,8 +61,8 @@ For portable use, a shared memory object should be identified by a name of the form .IR /somename ; that is, a null-terminated string of up to -.BI NAME_MAX +1 -(i.e., 256) characters consisting of an initial slash, +.BI NAME_MAX +(i.e., 255) characters consisting of an initial slash, .\" glibc allows the initial slash to be omitted, and makes .\" multiple initial slashes equivalent to a single slash. .\" This differs from the implementation of POSIX message queues. diff --git a/man7/mq_overview.7 b/man7/mq_overview.7 index 7704eae34..89100151d 100644 --- a/man7/mq_overview.7 +++ b/man7/mq_overview.7 @@ -23,7 +23,7 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH MQ_OVERVIEW 7 2009-02-20 "Linux" "Linux Programmer's Manual" +.TH MQ_OVERVIEW 7 2009-02-25 "Linux" "Linux Programmer's Manual" .SH NAME mq_overview \- Overview of POSIX message queues .SH DESCRIPTION @@ -44,8 +44,8 @@ which is used to refer to the open message queue in later calls. Each message queue is identified by a name of the form .IR /somename ; that is, a null-terminated string of up to -.BI NAME_MAX +1 -(i.e., 256) characters consisting of an initial slash, +.BI NAME_MAX +(i.e., 255) characters consisting of an initial slash, followed by one or more characters, none of which are slashes. Two processes can operate on the same queue by passing the same name to .BR mq_open (3).