Luna/libc/include/bits/poll.h
apio 207d901de8
All checks were successful
continuous-integration/drone/push Build is passing
kernel+libc: Add the poll() syscall
2023-08-02 14:48:20 +02:00

22 lines
282 B
C

/* bits/poll.h: The pollfd data structure. */
#ifndef _BITS_POLL_H
#define _BITS_POLL_H
#include <bits/fixed-size-types.h>
#define POLLIN 0
#define POLLERR 1
#define POLLNVAL 2
typedef __u64_t nfds_t;
struct pollfd
{
int fd;
short events;
short revents;
};
#endif