pselect_time32.c\time32\compat - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/compat/time32/pselect_time32.c
blob: ecaa8f868dbf49315c00ad0951642e74cd4d83f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "time32.h"
#include <time.h>
#include <sys/select.h>
int __pselect_time32(int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, const struct timespec32 *restrict ts32, const sigset_t *restrict mask)
{
	return pselect(n, rfds, wfds, efds, !ts32 ? 0 : (&(struct timespec){
		.tv_sec = ts32->tv_sec, .tv_nsec = ts32->tv_nsec}), mask);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月03日 09:25:34 +0000

AltStyle によって変換されたページ (->オリジナル) /