File: sem.h

package info (click to toggle)
glibc 2.40-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 292,840 kB
  • sloc: ansic: 1,038,938; asm: 239,498; makefile: 19,481; python: 13,369; sh: 11,472; cpp: 5,147; awk: 1,723; perl: 317; yacc: 292; pascal: 182; sed: 19
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