File: sem.h

package info (click to toggle)
glibc 2.36-9%2Bdeb12u12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 299,992 kB
  • sloc: ansic: 1,055,666; asm: 324,942; makefile: 15,198; python: 12,603; sh: 10,884; cpp: 5,685; awk: 1,883; perl: 518; yacc: 292; pascal: 182; sed: 39
file content (22 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (12)
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