1 #include "time32.h" 2 #define _GNU_SOURCE 3 #include <time.h> 4 #include <sys/socket.h> 5 __recvmmsg_time32(int fd,struct mmsghdr * msgvec,unsigned int vlen,unsigned int flags,struct timespec32 * ts32)6int __recvmmsg_time32(int fd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags, struct timespec32 *ts32) 7 { 8 return recvmmsg(fd, msgvec, vlen, flags, ts32 ? (&(struct timespec){ 9 .tv_sec = ts32->tv_sec, .tv_nsec = ts32->tv_nsec}) : 0); 10 } 11