Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2013 20:11:32 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r251153 - stable/8/lib/libc/gen
Message-ID:  <201305302011.r4UKBWqN038312@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305302011.r4UKBWqN038312>