]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Add text noting that contents of newly created segment are zero values.
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 21 Apr 2006 02:02:05 +0000 (02:02 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 21 Apr 2006 02:02:05 +0000 (02:02 +0000)
man2/shmget.2

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