mirror of
https://github.com/fluencelabs/musl
synced 2025-07-14 22:11:57 +00:00
arch
crt
dist
include
arpa
linux
net
netinet
netpacket
sys
aio.h
alloca.h
assert.h
byteswap.h
cpio.h
ctype.h
dirent.h
dlfcn.h
elf.h
endian.h
err.h
errno.h
fcntl.h
features.h
fenv.h
float.h
fnmatch.h
ftw.h
getopt.h
glob.h
grp.h
iconv.h
inttypes.h
iso646.h
langinfo.h
libgen.h
libintl.h
limits.h
locale.h
malloc.h
math.h
mntent.h
mqueue.h
netdb.h
nl_types.h
paths.h
poll.h
pthread.h
pty.h
pwd.h
regex.h
resolv.h
sched.h
search.h
semaphore.h
setjmp.h
shadow.h
signal.h
spawn.h
stdarg.h
stdbool.h
stddef.h
stdint.h
stdio.h
stdio_ext.h
stdlib.h
string.h
strings.h
stropts.h
sysexits.h
syslog.h
tar.h
termios.h
time.h
ucontext.h
ulimit.h
unistd.h
utime.h
utmp.h
utmpx.h
wchar.h
wctype.h
wordexp.h
lib
src
tools
COPYING
COPYRIGHT
INSTALL
Makefile
README
WHATSNEW
36 lines
517 B
C
36 lines
517 B
C
![]() |
#ifndef _POLL_H
|
||
|
#define _POLL_H
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#define POLLIN 0x001
|
||
|
#define POLLPRI 0x002
|
||
|
#define POLLOUT 0x004
|
||
|
#define POLLERR 0x008
|
||
|
#define POLLHUP 0x010
|
||
|
#define POLLNVAL 0x020
|
||
|
#define POLLRDNORM 0x040
|
||
|
#define POLLRDBAND 0x080
|
||
|
#define POLLWRNORM 0x100
|
||
|
#define POLLWRBAND 0x200
|
||
|
#define POLLMSG 0x400
|
||
|
|
||
|
typedef unsigned int nfds_t;
|
||
|
|
||
|
struct pollfd
|
||
|
{
|
||
|
int fd;
|
||
|
short events;
|
||
|
short revents;
|
||
|
};
|
||
|
|
||
|
int poll (struct pollfd *, nfds_t, int);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|