glibc/include/sys/sem.h
Adhemerval Zanella 765cdd0bff sysvipc: Implement semop based on semtimedop
Besides semop being a subset of semtimedop, new 32-bit architectures
on Linux are not expected to provide the syscall (only the 64-bit time
semtimedop).

Also, Linux 5.1 only wired-up semtimedop for the 64-bit architectures
that missed it (powerpc, s390, and sparc).  This simplifies the code
to support it.

Checked on x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
2019-10-17 11:05:40 -03:00

10 lines
139 B
C

#ifndef _SYS_SEM_H
# include <sysvipc/sys/sem.h>
# ifndef _ISOMAC
__typeof__ (semtimedop) __semtimedop attribute_hidden;
# endif
#endif