sem_post.3 (fccedf067d9e77523b684f179b4aed07995f7b05) sem_post.3 (26b6c45a92c8eae91cad4a7ce8935e08d2e5d368)
1.\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice(s), this list of conditions and the following disclaimer as

--- 12 unchanged lines hidden (view full) ---

21.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
23.\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25.\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
26.\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\"
28.\" $FreeBSD$
1.\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice(s), this list of conditions and the following disclaimer as

--- 12 unchanged lines hidden (view full) ---

21.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
23.\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25.\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
26.\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\"
28.\" $FreeBSD$
29.\"
29.Dd February 15, 2000
30.Dt SEM_POST 3
31.Os
32.Sh NAME
33.Nm sem_post
34.Nd increment (unlock) a semaphore
35.Sh LIBRARY
36.Lb libc

--- 18 unchanged lines hidden (view full) ---

55.Sh RETURN VALUES
56.Rv -std sem_post
57.Sh ERRORS
58The
59.Fn sem_post
60function will fail if:
61.Bl -tag -width Er
62.It Bq Er EINVAL
30.Dd February 15, 2000
31.Dt SEM_POST 3
32.Os
33.Sh NAME
34.Nm sem_post
35.Nd increment (unlock) a semaphore
36.Sh LIBRARY
37.Lb libc

--- 18 unchanged lines hidden (view full) ---

56.Sh RETURN VALUES
57.Rv -std sem_post
58.Sh ERRORS
59The
60.Fn sem_post
61function will fail if:
62.Bl -tag -width Er
63.It Bq Er EINVAL
64The
63.Fa sem
65.Fa sem
66argument
64points to an invalid semaphore.
65.El
66.Sh SEE ALSO
67.Xr sem_trywait 3 ,
68.Xr sem_wait 3 ,
69.Xr sem 4
70.Sh STANDARDS
71The
72.Fn sem_post
73function conforms to
74.St -p1003.1-96 .
67points to an invalid semaphore.
68.El
69.Sh SEE ALSO
70.Xr sem_trywait 3 ,
71.Xr sem_wait 3 ,
72.Xr sem 4
73.Sh STANDARDS
74The
75.Fn sem_post
76function conforms to
77.St -p1003.1-96 .