add io_finishandshutdown declaration

master
leitner 21 years ago
parent 68120bb142
commit 025063013b

10
io.h

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