add io_finishandshutdown declaration
This commit is contained in:
parent
68120bb142
commit
025063013b
10
io.h
10
io.h
@ -70,8 +70,18 @@ void io_closeonexec(int64 d);
|
|||||||
|
|
||||||
void io_close(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 */
|
/* send n bytes from file fd starting at offset off to socket s */
|
||||||
/* return number of bytes written */
|
/* return number of bytes written */
|
||||||
int64 io_sendfile(int64 s,int64 fd,uint64 off,uint64 n);
|
int64 io_sendfile(int64 s,int64 fd,uint64 off,uint64 n);
|
||||||
|
|
||||||
|
#ifdef __MINGW32__
|
||||||
|
#include_next <io.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user