Module Name: src Committed By: christos Date: Thu Feb 21 21:54:09 UTC 2019
Modified Files: src/lib/librt: sem_init.3 Log Message: Mention that ENOSPC can be returned if we exhausted the max number of semaphores. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/librt/sem_init.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/librt/sem_init.3 diff -u src/lib/librt/sem_init.3:1.4 src/lib/librt/sem_init.3:1.5 --- src/lib/librt/sem_init.3:1.4 Fri Jul 6 21:39:59 2012 +++ src/lib/librt/sem_init.3 Thu Feb 21 16:54:09 2019 @@ -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 <jas...@freebsd.org>. .\" 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 @@ will fail if: .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