Sort ERRORS, use more markup, bump date for previous.
Remove trailing whitespace.
This commit is contained in:
parent
8886757e7e
commit
695738de0e
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: shmget.2,v 1.21 2008/10/27 15:42:04 erh Exp $
|
||||
.\" $NetBSD: shmget.2,v 1.22 2008/10/27 16:49:10 wiz Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1995 Frank van der Linden
|
||||
.\" All rights reserved.
|
||||
|
@ -29,7 +29,7 @@
|
|||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd May 13, 2004
|
||||
.Dd October 27, 2008
|
||||
.Dt SHMGET 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -124,19 +124,6 @@ are set in
|
|||
.Fa shmflg ,
|
||||
and a shared memory segment is already associated with
|
||||
.Fa key .
|
||||
.It Bq Er ENOSPC
|
||||
A new shared memory identifier could not be created because the system limit
|
||||
for the number of shared memory identifiers has been reached.
|
||||
.It Bq Er ENOENT
|
||||
.Dv IPC_CREAT
|
||||
is not set in
|
||||
.Fa shmflg
|
||||
and no shared memory segment associated with
|
||||
.Fa key
|
||||
was found.
|
||||
.It Bq Er ENOMEM
|
||||
There is not enough memory left to create a shared memory segment of the
|
||||
requested size.
|
||||
.It Bq Er EINVAL
|
||||
No shared memory segment is to be created, and a shared memory segment
|
||||
exists for
|
||||
|
@ -150,8 +137,24 @@ A shared memory segment
|
|||
.Em is
|
||||
to be created, and
|
||||
.Fa size
|
||||
is less than the system imposed minimum, or greater than the system imposed maximum (Refer to the kern.ipc values in
|
||||
is less than the system imposed minimum, or greater than the system
|
||||
imposed maximum (refer to the
|
||||
.Li kern.ipc
|
||||
values in
|
||||
.Xr sysctl 7 ) .
|
||||
.It Bq Er ENOENT
|
||||
.Dv IPC_CREAT
|
||||
is not set in
|
||||
.Fa shmflg
|
||||
and no shared memory segment associated with
|
||||
.Fa key
|
||||
was found.
|
||||
.It Bq Er ENOMEM
|
||||
There is not enough memory left to create a shared memory segment of the
|
||||
requested size.
|
||||
.It Bq Er ENOSPC
|
||||
A new shared memory identifier could not be created because the system limit
|
||||
for the number of shared memory identifiers has been reached.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr ipcrm 1 ,
|
||||
|
|
Loading…
Reference in New Issue