aboutsummaryrefslogtreecommitdiffstats
path: root/man3/sem_open.3
diff options
context:
space:
mode:
authorJens Thoms Toerring <jt@toerring.de>2009-02-20 14:57:20 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2009-02-20 19:52:31 +1300
commitdb2fff8c014626f573f99eb0a25219f1ad225a31 (patch)
tree135ddd864bc003dd364ce964973f2f9e8558f64c /man3/sem_open.3
parent18fe47e06f57a8f8203c5f70fa2b40c2620d9f93 (diff)
downloadman-pages-db2fff8c014626f573f99eb0a25219f1ad225a31.tar.gz
sem_open.3: Add case of non-well-formed name to ENOENT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/sem_open.3')
-rw-r--r--man3/sem_open.311
1 files changed, 9 insertions, 2 deletions
diff --git a/man3/sem_open.3 b/man3/sem_open.3
index 5e69093a4b..81ff18e831 100644
--- a/man3/sem_open.3
+++ b/man3/sem_open.3
@@ -153,10 +153,17 @@ The system limit on the total number of open files has been reached.
The
.B O_CREAT
flag was not specified in
-.IR oflag ,
+.IR oflag
and no semaphore with this
.I name
-exists.
+exists;
+or,
+.\" this error can occur if we have a name of the (non-portable) form
+.\" /dir/name, and the directory /dev/shm/dir does not exist.
+.B O_CREAT
+was specified, but
+.I name
+wasn't well formed.
.TP
.B ENOMEM
Insufficient memory.