2 * Copyright 2008, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef KERNEL_XSI_SEMAPHORE_H
6 #define KERNEL_XSI_SEMAPHORE_H
14 #include <posix/xsi_semaphore_defs.h>
26 extern void xsi_sem_init();
27 extern void xsi_sem_undo(Team
*team
);
30 int _user_xsi_semget(key_t key
, int numberOfSemaphores
, int flags
);
31 int _user_xsi_semctl(int semaphoreID
, int semaphoreNumber
, int command
,
33 status_t
_user_xsi_semop(int semaphoreID
, struct sembuf
*semOps
,
38 #endif /* KERNEL_XSI_SEMAPHORE_H */