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
231 B
C

#include "iob.h"
#include "array.h"
struct io_batch {
array b;
uint64 bytesleft;
long next,bufs,files;
};
typedef struct io_entry {
enum { FROMBUF, FROMFILE } type;
int64 fd;
char* buf;
uint64 offset,n;
} io_entry;