1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 1998, 1999 Ralf Baechle (ralf@gnu.org) 7 */ 8#ifndef _ASM_POLL_H 9#define _ASM_POLL_H 10 11#define POLLIN 0x0001 12#define POLLPRI 0x0002 13#define POLLOUT 0x0004 14 15#define POLLERR 0x0008 16#define POLLHUP 0x0010 17#define POLLNVAL 0x0020 18 19#define POLLRDNORM 0x0040 20#define POLLRDBAND 0x0080 21#define POLLWRNORM POLLOUT 22#define POLLWRBAND 0x0100 23 24#define POLLMSG 0x0400 25 26struct pollfd { 27 int fd; 28 short events; 29 short revents; 30}; 31 32#endif /* _ASM_POLL_H */ 33