cosmopolitan/libc/sysv/consts/poll.h

35 lines
1.1 KiB
C

#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_POLL_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_POLL_H_
#include "libc/runtime/symbolic.h"
#define POLLERR SYMBOLIC(POLLERR)
#define POLLHUP SYMBOLIC(POLLHUP)
#define POLLIN SYMBOLIC(POLLIN)
#define POLLNVAL SYMBOLIC(POLLNVAL)
#define POLLOUT SYMBOLIC(POLLOUT)
#define POLLPRI SYMBOLIC(POLLPRI)
#define POLLRDBAND SYMBOLIC(POLLRDBAND)
#define POLLRDHUP SYMBOLIC(POLLRDHUP)
#define POLLRDNORM SYMBOLIC(POLLRDNORM)
#define POLLWRBAND SYMBOLIC(POLLWRBAND)
#define POLLWRNORM SYMBOLIC(POLLWRNORM)
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
hidden extern const int16_t POLLERR;
hidden extern const int16_t POLLHUP;
hidden extern const int16_t POLLIN;
hidden extern const int16_t POLLNVAL;
hidden extern const int16_t POLLOUT;
hidden extern const int16_t POLLPRI;
hidden extern const int16_t POLLRDBAND;
hidden extern const int16_t POLLRDHUP;
hidden extern const int16_t POLLRDNORM;
hidden extern const int16_t POLLWRBAND;
hidden extern const int16_t POLLWRNORM;
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_POLL_H_ */