Browse Source

add io_finishandshutdown declaration

master
Felix von Leitner 17 years ago
parent
commit
3fb960078f
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      io.h

+ 10
- 0
io.h View File

@@ -70,8 +70,18 @@ void io_closeonexec(int64 d);

void io_close(int64 d);

/* Free the internal data structures from libio.
* This only makes sense if you run your program in a malloc checker and
* these produce false alarms. Your OS will free these automatically on
* process termination. */
void io_finishandshutdown(void);

/* send n bytes from file fd starting at offset off to socket s */
/* return number of bytes written */
int64 io_sendfile(int64 s,int64 fd,uint64 off,uint64 n);

#ifdef __MINGW32__
#include_next <io.h>
#endif

#endif

Loading…
Cancel
Save