ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/lib/poll.h
(Generate patch)

Comparing gvpe/lib/poll.h (file contents):
Revision 1.1 by pcg, Tue Oct 14 17:24:19 2003 UTC vs.
Revision 1.2 by pcg, Tue Oct 14 19:14:28 2003 UTC

1#if defined(HAVE_SYS_POLL_H) && defined(HAVE_POLL)
2# include <sys/poll.h>
3#else
4
5
1/*---------------------------------------------------------------------------*\ 6/*---------------------------------------------------------------------------*\
2 $Id: poll.h,v 1.1 2003/10/14 17:24:19 pcg Exp $ 7 $Id: poll.h,v 1.2 2003/10/14 19:14:28 pcg Exp $
3 8
4 NAME 9 NAME
5 10
6 poll - select(2)-based poll() emulation function for BSD systems. 11 poll - select(2)-based poll() emulation function for BSD systems.
7 12
67\*---------------------------------------------------------------------------*/ 72\*---------------------------------------------------------------------------*/
68 73
69#ifndef _POLL_EMUL_H_ 74#ifndef _POLL_EMUL_H_
70#define _POLL_EMUL_H_ 75#define _POLL_EMUL_H_
71 76
72#if defined(HAVE_SYS_POLL_H) && defined(HAVE_POLL)
73# include <sys/poll.h>
74#else
75
76#define POLLIN 0x01 77#define POLLIN 0x01
77#define POLLPRI 0x02 78#define POLLPRI 0x02
78#define POLLOUT 0x04 79#define POLLOUT 0x04
79#define POLLERR 0x08 80#define POLLERR 0x08
80#define POLLHUP 0x10 81#define POLLHUP 0x10

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines