diff options
author | ru <ru@FreeBSD.org> | 2003-12-30 14:59:10 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-12-30 14:59:10 +0000 |
commit | 67877ecd4865c451edc02dfbbaca275826b26e76 (patch) | |
tree | e88a5620e17cf4d23e2dd7c56f1aabe24ff4b2c0 /lib/libpthread/man/sem_init.3 | |
parent | 96159ed2347341c533d77f2f5e0685b70a4be2ed (diff) | |
download | FreeBSD-src-67877ecd4865c451edc02dfbbaca275826b26e76.zip FreeBSD-src-67877ecd4865c451edc02dfbbaca275826b26e76.tar.gz |
Pull some changes (mostly cosmetic) from libc_r manpages
in preparation for the merge.
Diffstat (limited to 'lib/libpthread/man/sem_init.3')
-rw-r--r-- | lib/libpthread/man/sem_init.3 | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/lib/libpthread/man/sem_init.3 b/lib/libpthread/man/sem_init.3 index 8fac8d6..c70bbae 100644 --- a/lib/libpthread/man/sem_init.3 +++ b/lib/libpthread/man/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 @@ -80,10 +82,12 @@ Unable to initialize a shared semaphore. .Xr sem_destroy 3 , .Xr sem_post 3 , .Xr sem_trywait 3 , -.Xr sem_wait 3 +.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 |