vm, kernel, top: report memory usage of vm, kernel
[minix.git] / lib / libasyn / asyn.h
blob301f34050c0d3b99ef902d79b2436f91a6ba8e2b
1 /* asyn.h - async I/O
2 * Author: Kees J. Bot
3 * 7 Jul 1997
4 * Minix-vmd compatible asynchio(3) using BSD select(2).
5 */
6 #define nil 0
7 #include <sys/types.h>
8 #include <fcntl.h>
9 #include <sys/ioctl.h>
10 #include <sys/asynchio.h>
11 #include <unistd.h>
12 #include <string.h>
13 #include <errno.h>
15 typedef struct _asynfd asynfd_t;
17 #undef IDLE
19 typedef enum state { IDLE, WAITING, PENDING } state_t;