about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/include/sys/sem.h
blob: f369c6b6d38354163224eb06831d806d2af81081 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _SYS_SEM_H
# include <sysvipc/sys/sem.h>

# ifndef _ISOMAC

__typeof__ (semtimedop) __semtimedop attribute_hidden;

#if __TIMESIZE == 64
# define __semctl64 __semctl
# define __semtimedop64 __semtimedop
#else
# include <struct___timespec64.h>

extern int __semctl64 (int semid, int semnum, int cmd, ...);
libc_hidden_proto (__semctl64);
extern int __semtimedop64 (int semid, struct sembuf *sops, size_t nsops,
			   const struct __timespec64 *tmo);
libc_hidden_proto (__semtimedop64);
#endif

# endif
#endif