sem_wait.3 (b0a1b4f80919d734dda03410df0cabf7297dfb68) sem_wait.3 (d8a7868820265181ac2d938dcbcc10c3f199d583)
1.\" Copyright (C) 2000 Jason Evans <jasone@canonware.com>.
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

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

28.\" $FreeBSD$
29.Dd February 15, 2000
30.Dt SEM_WAIT 3
31.Os
32.Sh NAME
33.Nm sem_wait ,
34.Nm sem_trywait
35.Nd decrement (lock) a semaphore
1.\" Copyright (C) 2000 Jason Evans <jasone@canonware.com>.
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

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

28.\" $FreeBSD$
29.Dd February 15, 2000
30.Dt SEM_WAIT 3
31.Os
32.Sh NAME
33.Nm sem_wait ,
34.Nm sem_trywait
35.Nd decrement (lock) a semaphore
36.Sh LIBRARY
37.Lb libc_r
36.Sh SYNOPSIS
37.Fd #include <semaphore.h>
38.Ft int
39.Fn sem_wait "sem_t *sem"
40.Ft int
41.Fn sem_trywait "sem_t *sem"
42.Sh DESCRIPTION
43The

--- 49 unchanged lines hidden ---
38.Sh SYNOPSIS
39.Fd #include <semaphore.h>
40.Ft int
41.Fn sem_wait "sem_t *sem"
42.Ft int
43.Fn sem_trywait "sem_t *sem"
44.Sh DESCRIPTION
45The

--- 49 unchanged lines hidden ---