Browse Source

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

master
Felix von Leitner 17 years ago
parent
commit
08b13a1f18
10 changed files with 13 additions and 9 deletions
  1. +4
    -0
      io/io_waituntil2.c
  2. +1
    -1
      io/iob_addbuf.3
  3. +1
    -1
      io/iob_addbuf_free.3
  4. +1
    -1
      io/iob_addfile.3
  5. +1
    -1
      io/iob_addfile_close.3
  6. +1
    -1
      io/iob_adds.3
  7. +1
    -1
      io/iob_adds_free.3
  8. +1
    -1
      io/iob_new.3
  9. +1
    -1
      io/iob_prefetch.3
  10. +1
    -1
      io/iob_send.3

+ 4
- 0
io/io_waituntil2.c View File

@ -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;


+ 1
- 1
io/iob_addbuf.3 View File

@ -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


+ 1
- 1
io/iob_addbuf_free.3 View File

@ -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


+ 1
- 1
io/iob_addfile.3 View File

@ -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


+ 1
- 1
io/iob_addfile_close.3 View File

@ -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


+ 1
- 1
io/iob_adds.3 View File

@ -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


+ 1
- 1
io/iob_adds_free.3 View File

@ -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


+ 1
- 1
io/iob_new.3 View File

@ -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


+ 1
- 1
io/iob_prefetch.3 View File

@ -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


+ 1
- 1
io/iob_send.3 View File

@ -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