svn commit: r251153 - stable/8/lib/libc/gen
John Baldwin
jhb at FreeBSD.org
Thu May 30 20:11:32 UTC 2013
Author: jhb
Date: Thu May 30 20:11:31 2013
New Revision: 251153
URL: http://svnweb.freebsd.org/changeset/base/251153
Log:
MFC 249566-249567:
Document that sem_wait() can fail with EINTR if it is interrupted by a
signal.
Modified:
stable/8/lib/libc/gen/sem_wait.3
Directory Properties:
stable/8/lib/libc/ (props changed)
Modified: stable/8/lib/libc/gen/sem_wait.3
==============================================================================
--- stable/8/lib/libc/gen/sem_wait.3 Thu May 30 20:09:21 2013 (r251152)
+++ stable/8/lib/libc/gen/sem_wait.3 Thu May 30 20:11:31 2013 (r251153)
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 15, 2000
+.Dd April 16, 2013
.Dt SEM_WAIT 3
.Os
.Sh NAME
@@ -75,6 +75,13 @@ points to an invalid semaphore.
.El
.Pp
Additionally,
+.Fn sem_wait
+will fail if:
+.Bl -tag -width Er
+.It Bq Er EINTR
+A signal interrupted this function.
+.El
+Additionally,
.Fn sem_trywait
will fail if:
.Bl -tag -width Er
More information about the svn-src-stable-8
mailing list