Browse Source

<io.h> -> <iob.h>

master
Felix von Leitner 18 years ago
parent
commit
08b13a1f18
  1. 4
      io/io_waituntil2.c
  2. 2
      io/iob_addbuf.3
  3. 2
      io/iob_addbuf_free.3
  4. 2
      io/iob_addfile.3
  5. 2
      io/iob_addfile_close.3
  6. 2
      io/iob_adds.3
  7. 2
      io/iob_adds_free.3
  8. 2
      io/iob_new.3
  9. 2
      io/iob_prefetch.3
  10. 2
      io/iob_send.3

4
io/io_waituntil2.c

@ -40,7 +40,11 @@ int64 io_waituntil2(int64 milliseconds) {
if (e->wantread) y[i].events|=EPOLLIN;
if (e->wantwrite) y[i].events|=EPOLLOUT;
}
#ifdef EPOLLRDNORM
if (!e->canread && (y[i].events&(EPOLLIN|EPOLLPRI|EPOLLRDNORM|EPOLLRDBAND))) {
#else
if (!e->canread && (y[i].events&(EPOLLIN|EPOLLPRI))) {
#endif
e->canread=1;
e->next_read=first_readable;
first_readable=y[i].data.fd;

2
io/iob_addbuf.3

@ -2,7 +2,7 @@
.SH NAME
iob_addbuf \- add buffer to I/O batch
.SH SYNTAX
.B #include <io.h>
.B #include <iob.h>
void \fBiob_addbuf\fP(io_batch* b,const void* buf,uint64 n);
.SH DESCRIPTION

2
io/iob_addbuf_free.3

@ -2,7 +2,7 @@
.SH NAME
iob_addbuf_free \- add buffer to I/O batch, with deallocation
.SH SYNTAX
.B #include <io.h>
.B #include <iob.h>
void \fBiob_addbuf_free\fP(io_batch* b,const void* buf,uint64 n);
.SH DESCRIPTION

2
io/iob_addfile.3

@ -2,7 +2,7 @@
.SH NAME
iob_addfile \- add file region to I/O batch
.SH SYNTAX
.B #include <io.h>
.B #include <iob.h>
void \fBiob_addfile\fP(io_batch* b,int64 fd,uint64 off,uint64 n);
.SH DESCRIPTION

2
io/iob_addfile_close.3

@ -2,7 +2,7 @@
.SH NAME
iob_addfile_close \- add file region to I/O batch
.SH SYNTAX
.B #include <io.h>
.B #include <iob.h>
void \fBiob_addfile_close\fP(io_batch* b,int64 fd,uint64 off,uint64 n);
.SH DESCRIPTION

2
io/iob_adds.3

@ -2,7 +2,7 @@
.SH NAME
iob_adds \- add buffer to I/O batch
.SH SYNTAX
.B #include <io.h>
.B #include <iob.h>
void \fBiob_adds\fP(io_batch* b,const char* s);
.SH DESCRIPTION

2
io/iob_adds_free.3

@ -2,7 +2,7 @@
.SH NAME
iob_adds_free \- add buffer to I/O batch
.SH SYNTAX
.B #include <io.h>
.B #include <iob.h>
void \fBiob_adds_free\fP(io_batch* b,const char* s);
.SH DESCRIPTION

2
io/iob_new.3

@ -2,7 +2,7 @@
.SH NAME
iob_new \- create new I/O batch
.SH SYNTAX
.B #include <io.h>
.B #include <iob.h>
io_batch* \fBiob_new\fP(int hint_entries);
.SH DESCRIPTION

2
io/iob_prefetch.3

@ -2,7 +2,7 @@
.SH NAME
iob_prefetch \- prefetch data for I/O batch
.SH SYNTAX
.B #include <io.h>
.B #include <iob.h>
void \fBiob_prefetch\fP(io_batch* b,uint64 n);
.SH DESCRIPTION

2
io/iob_send.3

@ -2,7 +2,7 @@
.SH NAME
iob_send \- send I/O batch
.SH SYNTAX
.B #include <io.h>
.B #include <iob.h>
int64 \fBiob_send\fP(int64 s,io_batch* b);
.SH DESCRIPTION

Loading…
Cancel
Save