Files
zinnia/include/uapi/poll.h
T
2026-07-20 01:53:04 +02:00

28 lines
512 B
C

// SPDX-License-Identifier: GPL-2.0
#ifndef __ZINNIA_UAPI_POLL_H
#define __ZINNIA_UAPI_POLL_H
#include <stdint.h>
#define __POLLIN 0x01
#define __POLLOUT 0x02
#define __POLLPRI 0x04
#define __POLLHUP 0x08
#define __POLLERR 0x10
#define __POLLRDHUP 0x20
#define __POLLNVAL 0x40
#define __POLLRDNORM 0x80
#define __POLLRDBAND 0x100
#define __POLLWRNORM 0x200
#define __POLLWRBAND 0x400
typedef intptr_t nfds_t;
struct pollfd {
int fd;
int16_t events;
int16_t revents;
};
#endif