Add text noting that contents of newly created segment are zero values.

This commit is contained in:
Michael Kerrisk 2006-04-21 02:02:05 +00:00
parent af5b2ef2cc
commit 6319e935b0
1 changed files with 4 additions and 4 deletions

View File

@ -117,11 +117,12 @@ See the kernel source file
for further information. for further information.
.\" FIXME 2.6.15 adds SHM_NORESERVE; document it. .\" FIXME 2.6.15 adds SHM_NORESERVE; document it.
.PP .PP
If a new shared memory segment is created, When a new shared memory segment is created,
then its associated data structure its contents are initialised to zero values, and
its associated data structure,
.I shmid_ds .I shmid_ds
(see (see
.BR shmctl (2)) .BR shmctl (2)),
is initialised as follows: is initialised as follows:
.IP .IP
.I shm_perm.cuid .I shm_perm.cuid
@ -171,7 +172,6 @@ all attached shared memory segments are detached (not destroyed).
Upon Upon
.BR exit () .BR exit ()
all attached shared memory segments are detached (not destroyed). all attached shared memory segments are detached (not destroyed).
.PP
.SH "RETURN VALUE" .SH "RETURN VALUE"
A valid segment identifier, A valid segment identifier,
.IR shmid , .IR shmid ,