diff options
author | Philippe Charnier <charnier@FreeBSD.org> | 2003-03-24 16:05:24 +0000 |
---|---|---|
committer | Philippe Charnier <charnier@FreeBSD.org> | 2003-03-24 16:05:24 +0000 |
commit | 9d09157a0f55ef695b75eafb407f57206453a1f1 (patch) | |
tree | 71e3892a3a656b566e2fb0d980a8bc0a6fe0c300 /lib/libc/gen/sem_init.3 | |
parent | 0552350ecc55f34e3385dc06abf3c9c45092b332 (diff) | |
download | src-9d09157a0f55ef695b75eafb407f57206453a1f1.tar.gz src-9d09157a0f55ef695b75eafb407f57206453a1f1.zip |
Notes
Diffstat (limited to 'lib/libc/gen/sem_init.3')
-rw-r--r-- | lib/libc/gen/sem_init.3 | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/lib/libc/gen/sem_init.3 b/lib/libc/gen/sem_init.3 index f9eec780282d..46394b48a995 100644 --- a/lib/libc/gen/sem_init.3 +++ b/lib/libc/gen/sem_init.3 @@ -54,19 +54,21 @@ Following a successful call to .Fn sem_init , .Fa sem can be used as an argument in subsequent calls to -.Fa sem_wait , -.Fa sem_trywait , -.Fa sem_post , +.Xr sem_wait 3 , +.Xr sem_trywait 3 , +.Xr sem_post 3 , and -.Fa sem_destroy . +.Xr sem_destroy 3 . +The .Fa sem -is no longer valid after a successful call to -.Fa sem_destroy . +argument is no longer valid after a successful call to +.Xr sem_destroy 3 . .Sh RETURN VALUES .Rv -std sem_init .Sh ERRORS +The .Fn sem_init -will fail if: +function will fail if: .Bl -tag -width Er .It Bq Er EINVAL .Fa value @@ -83,8 +85,9 @@ Unable to initialize a shared semaphore. .Xr sem_wait 3 , .Xr sem 4 .Sh STANDARDS +The .Fn sem_init -conforms to +function conforms to .St -p1003.1-96 . .Pp This implementation does not support shared semaphores, and reports this fact |