summaryrefslogtreecommitdiff
path: root/klibc/include/poll.h
blob: 8710d92ebd65232a81e2f9630ec985f771c90c67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * poll.h
 */

#ifndef _POLL_H
#define _POLL_H

#include <klibc/extern.h>
#include <linux/poll.h>

/* POSIX specifies "int" for the timeout, Linux seems to use long... */

typedef unsigned int nfds_t;
__extern int poll(struct pollfd *, nfds_t, long);

#endif /* _POLL_H */