diff options
author | ru <ru@FreeBSD.org> | 2004-07-02 16:45:56 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-07-02 16:45:56 +0000 |
commit | 9d678b540a55cef6a0dc68e22adef0aa02d0aaa1 (patch) | |
tree | 78dccaeba712e69b1159fb258d39913bc17f4612 /lib/libc/gen/sem_destroy.3 | |
parent | 627ed40f49cb6d2aba1199b177f148ec46edb90d (diff) | |
download | FreeBSD-src-9d678b540a55cef6a0dc68e22adef0aa02d0aaa1.zip FreeBSD-src-9d678b540a55cef6a0dc68e22adef0aa02d0aaa1.tar.gz |
Markup tidying.
Diffstat (limited to 'lib/libc/gen/sem_destroy.3')
-rw-r--r-- | lib/libc/gen/sem_destroy.3 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/gen/sem_destroy.3 b/lib/libc/gen/sem_destroy.3 index 0d0df30..f488b4e 100644 --- a/lib/libc/gen/sem_destroy.3 +++ b/lib/libc/gen/sem_destroy.3 @@ -26,6 +26,7 @@ .\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" $FreeBSD$ +.\" .Dd February 15, 2000 .Dt SEM_DESTROY 3 .Os @@ -47,7 +48,7 @@ After a successful call to .Fn sem_destroy , .Fa sem is unusable until re-initialized by another call to -.Fn sem_init . +.Xr sem_init 3 . .Sh RETURN VALUES .Rv -std sem_destroy .Sh ERRORS @@ -56,7 +57,9 @@ The function will fail if: .Bl -tag -width Er .It Bq Er EINVAL +The .Fa sem +argument points to an invalid semaphore. .It Bq Er EBUSY There are currently threads blocked on the semaphore that @@ -72,11 +75,12 @@ The function conforms to .St -p1003.1-96 . .Pp -POSIX does not define the behavior of +.Tn POSIX +does not define the behavior of .Fn sem_destroy if called while there are threads blocked on .Fa sem , -but this implementation is guaranteed to return -1 and set +but this implementation is guaranteed to return \-1 and set .Va errno to .Er EBUSY |