fehQlibs
26
Qlibs
Loading...
Searching...
No Matches
fehQlibs-26
include
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
10
typedef
struct
pollfd
iopause_fd
;
11
#define IOPAUSE_READ POLLIN
12
#define IOPAUSE_WRITE POLLOUT
13
#else
14
typedef
struct
{
15
int
fd
;
16
short
events
;
17
short
revents
;
18
}
iopause_fd
;
19
#define IOPAUSE_READ 1
20
#define IOPAUSE_WRITE 4
21
#endif
22
23
#include "
taia.h
"
24
25
extern
int
iopause
(
iopause_fd
*,
unsigned
int
,
struct
taia
*,
struct
taia
*);
26
extern
unsigned
long
pollmax
;
27
28
#endif
pollmax
unsigned long pollmax
iopause
int iopause(iopause_fd *, unsigned int, struct taia *, struct taia *)
Definition:
iopause.c:14
taia.h
iopause_fd
Definition:
iopause.h:14
iopause_fd::fd
int fd
Definition:
iopause.h:15
iopause_fd::events
short events
Definition:
iopause.h:16
iopause_fd::revents
short revents
Definition:
iopause.h:17
taia
Definition:
taia.h:13
Generated on Sat Nov 2 2024 13:01:06 for fehQlibs by
1.9.6