1semaphore.h(3HEAD)                  Headers                 semaphore.h(3HEAD)
2
3
4

NAME

6       semaphore.h, semaphore - semaphores
7

SYNOPSIS

9       #include <semaphore.h>
10
11

DESCRIPTION

13       The  <semaphore.h>  header  defines  the sem_t type, used in performing
14       semaphore operations. The semaphore can be  implemented  using  a  file
15       descriptor,  in  which case applications are able to open up at least a
16       total of {OPEN_MAX} files and  semaphores.  The  symbol  SEM_FAILED  is
17       defined (see sem_open(3C)).
18
19
20       Inclusion  of the <semaphore.h> header can make visible symbols defined
21       in the headers <fcntl.h>  and  <sys/types.h>.  See  fcntl.h(3HEAD)  and
22       types.h(3HEAD).
23

ATTRIBUTES

25       See attributes(5) for descriptions of the following attributes:
26
27
28
29
30       ┌─────────────────────────────┬─────────────────────────────┐
31       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
32       ├─────────────────────────────┼─────────────────────────────┤
33       │Interface Stability          │Committed                    │
34       ├─────────────────────────────┼─────────────────────────────┤
35       │Standard                     │See standards(5).            │
36       └─────────────────────────────┴─────────────────────────────┘
37

SEE ALSO

39       fcntl.h(3HEAD),   types.h(3HEAD),   sem_destroy(3C),  sem_getvalue(3C),
40       sem_init(3C),    sem_open(3C),     sem_post(3C),     sem_timedwait(3C),
41       sem_unlink(3C), sem_wait(3C), attributes(5), standards(5)
42
43
44
45SunOS 5.11                        5 Feb 2008                semaphore.h(3HEAD)
Impressum