Loading...
--- Libc/Libc-583/sys/shm_open.2
+++ Libc/Libc-498/sys/shm_open.2
@@ -20,7 +20,7 @@
.\"
.\" @APPLE_LICENSE_HEADER_END@
.\"
-.Dd August 29, 2008
+.Dd September 20, 1999
.Dt SHM_OPEN 2
.Os Darwin
.Sh NAME
@@ -120,6 +120,13 @@
it unlinked and all other references are gone. Objects do
not persist across a system reboot.
.Pp
+The new descriptor is set to remain open across
+.Xr execve
+system calls; see
+.Xr close 2
+and
+.Xr fcntl 2 .
+.Pp
The system imposes a limit on the number of file descriptors
open simultaneously by one process.
.Xr Getdtablesize 2
@@ -151,12 +158,9 @@
The process has already reached its limit for open file descriptors.
.It Bq Er ENAMETOOLONG
.Fa name
-exceeded the name size limit.
-This is currently
-.Dv PSHMNAMLEN
-characters (defined in
-.In sys/posix_shm.h ) ,
-but this may change in the future.
+exceeded
+.Dv SHM_NAME_MAX
+characters.
.It Bq Er ENFILE
The system file table is full.
.It Bq Er ENOENT