[BACK]Return to poll.h CVS log [TXT][DIR] Up to [Development] / linux-2.4-xfs / include / asm-ia64

File: [Development] / linux-2.4-xfs / include / asm-ia64 / poll.h (download)

Revision 1.2, Mon Apr 19 10:11:07 2004 UTC (13 years, 6 months ago) by nathans
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines

Merge up to 2.4.26

#ifndef _ASM_IA64_POLL_H
#define _ASM_IA64_POLL_H

/*
 * poll(2) bit definitions.  Based on <asm-i386/poll.h>.
 *
 * Modified 1998, 1999
 *	David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
 */

#define POLLIN		0x0001
#define POLLPRI		0x0002
#define POLLOUT		0x0004
#define POLLERR		0x0008
#define POLLHUP		0x0010
#define POLLNVAL	0x0020

#define POLLRDNORM	0x0040
#define POLLRDBAND	0x0080
#define POLLWRNORM	0x0100
#define POLLWRBAND	0x0200
#define POLLMSG		0x0400

struct pollfd {
	int fd;
	short events;
	short revents;
};

#endif /* _ASM_IA64_POLL_H */