fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
iopause.h
Go to the documentation of this file.
1#ifndef IOPAUSE_H
2#define IOPAUSE_H
3
4#define IOPAUSE_POLL
5
6#include <sys/types.h>
7#ifdef HAS_POLL_H
8#include <poll.h>
9
10typedef struct pollfd iopause_fd;
11#define IOPAUSE_READ POLLIN
12#define IOPAUSE_WRITE POLLOUT
13#else
14typedef struct {
15 int fd;
16 short events;
17 short revents;
19#define IOPAUSE_READ 1
20#define IOPAUSE_WRITE 4
21#endif
22
23#include "taia.h"
24
25extern int iopause(iopause_fd *,unsigned int,struct taia *,struct taia *);
26extern unsigned long pollmax;
27
28#endif
unsigned long pollmax
int iopause(iopause_fd *, unsigned int, struct taia *, struct taia *)
Definition: iopause.c:14
int fd
Definition: iopause.h:15
short events
Definition: iopause.h:16
short revents
Definition: iopause.h:17
Definition: taia.h:13