projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
51e70805314f196238ce29e979f0061df2287d04
[musl]
/
src
/
ipc
/
semtimedop.c
1
#define _GNU_SOURCE
2
#include <sys/sem.h>
3
#include "syscall.h"
4
#include "ipc.h"
5
6
int semtimedop(int id, struct sembuf *buf, size_t n, const struct timespec *ts)
7
{
8
#ifndef SYS_ipc
9
return syscall(SYS_semtimedop, id, buf, n, ts);
10
#else
11
return syscall(SYS_ipc, IPCOP_semtimedop, id, n, 0, buf, ts);
12
#endif
13
}