You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
279 B
C
16 lines
279 B
C
22 years ago
|
#include "io.h"
|
||
|
#include "array.h"
|
||
|
|
||
|
typedef struct {
|
||
|
unsigned int wantread:1;
|
||
|
unsigned int wantwrite:1;
|
||
|
unsigned int canread:1;
|
||
|
unsigned int canwrite:1;
|
||
|
unsigned int nonblock:1;
|
||
|
unsigned int inuse:1;
|
||
|
} io_entry;
|
||
|
|
||
|
array io_fds;
|
||
|
uint64 io_wanted_fds;
|
||
|
array io_pollfds;
|