• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "time32.h"
2 #define _GNU_SOURCE
3 #include <sys/sem.h>
4 #include <time.h>
5 
__semtimedop_time32(int id,struct sembuf * buf,size_t n,const struct timespec32 * ts32)6 int __semtimedop_time32(int id, struct sembuf *buf, size_t n, const struct timespec32 *ts32)
7 {
8 	return semtimedop(id, buf, n, !ts32 ? 0 : (&(struct timespec){
9 		.tv_sec = ts32->tv_sec, .tv_nsec = ts32->tv_nsec}));
10 }
11