Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librt Mention that ENOSPC can be returned if we exhauste...



details:   https://anonhg.NetBSD.org/src/rev/3c84e6e6b748
branches:  trunk
changeset: 449088:3c84e6e6b748
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 21 21:54:09 2019 +0000

description:
Mention that ENOSPC can be returned if we exhausted the max number of
semaphores.

diffstat:

 lib/librt/sem_init.3 |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 9dd83f6c2c0a -r 3c84e6e6b748 lib/librt/sem_init.3
--- a/lib/librt/sem_init.3      Thu Feb 21 21:49:23 2019 +0000
+++ b/lib/librt/sem_init.3      Thu Feb 21 21:54:09 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sem_init.3,v 1.4 2012/07/07 01:39:59 joerg Exp $
+.\" $NetBSD: sem_init.3,v 1.5 2019/02/21 21:54:09 christos Exp $
 .\"
 .\" Copyright (C) 2000 Jason Evans <jasone%FreeBSD.org@localhost>.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 .\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 7, 2012
+.Dd February 21, 2019
 .Dt SEM_INIT 3
 .Os
 .Sh NAME
@@ -73,7 +73,9 @@
 .Fa value
 exceeds SEM_VALUE_MAX.
 .It Bq Er ENOSPC
-Memory allocation error.
+There was memory allocation error, or the limit on available semaphores
+.Dv ( SEM_NSEMS_MAX )
+has been exceeded.
 .It Bq Er EPERM
 Unable to initialize a shared semaphore.
 .El



Home | Main Index | Thread Index | Old Index