summaryrefslogtreecommitdiff
path: root/pfinet.old/glue-include/linux/poll.h
blob: b21c3c71a75f4ef13113ccd60ef9e832344df314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _HACK_POLL_H_
#define _HACK_POLL_H_

#include <hurd/hurd_types.h>

#define	POLLIN		SELECT_READ
#define	POLLRDNORM	SELECT_READ
#define POLLOUT		SELECT_WRITE
#define POLLWRNORM	SELECT_WRITE
#define POLLWRBAND	SELECT_WRITE
#define	POLLPRI		SELECT_URG
#define	POLLERR		SELECT_READ | SELECT_WRITE
#define	POLLHUP		SELECT_READ

typedef struct poll_table_struct { } poll_table;

#include <linux/sched.h>

static inline void
poll_wait(struct file * filp, struct wait_queue ** wait_address, poll_table *p)
{
}

#endif