summaryrefslogtreecommitdiff
path: root/include/iopause.h
blob: 488c840d0f909238f8eb75777dd98340747c0a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef IOPAUSE_H
#define IOPAUSE_H

#define IOPAUSE_POLL

#include <poll.h>
#include <sys/types.h>

typedef struct pollfd iopause_fd;
#define IOPAUSE_READ  POLLIN
#define IOPAUSE_WRITE POLLOUT

#include "taia.h"

extern int iopause(iopause_fd *, unsigned int, struct taia *, struct taia *);
extern unsigned long pollmax;

#endif