summaryrefslogtreecommitdiff
path: root/include/sys/select.h
blob: 9c1edcae4898413d2deded0cc435e3e423058c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __SYS_SELECT_H
#define __SYS_SELECT_H

#include <time.h>
#define __BITS_SELECT_H_
#include <bits/select.h> // for fd_set

#define __BITS_TIMESPEC_H_
struct timespec;

typedef __UINT64_TYPE__ sigset_t;

int pselect(int, fd_set *restrict, fd_set *restrict, fd_set *restrict,
	    const struct timespec *restrict, const sigset_t *restrict);
int select(int, fd_set *restrict, fd_set *restrict, fd_set *restrict,
	   struct timeval *restrict);

#endif