blob: 3c1bb907ee6348542b0f19c4ab492dcd8af8b97f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#include <stdint.h>
#include <sys/time.h>
typedef uint64_t fd_set;
#define FD_SETSIZE 64
void FD_CLR(int fd, fd_set *set);
int FD_ISSET(int fd, fd_set *set);
void FD_SET(int fd, fd_set *set);
void FD_ZERO(fd_set *set);
int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
|