summaryrefslogtreecommitdiff
path: root/pfinet/glue-include/linux/poll.h
blob: c785ea745faa6f68dfc67e7d18965a8ad44342d6 (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		0x1000
#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