From 025063013b155eb5a4dae177e5852a89e797a449 Mon Sep 17 00:00:00 2001 From: leitner Date: Sat, 1 Nov 2003 00:09:49 +0000 Subject: [PATCH] add io_finishandshutdown declaration --- io.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/io.h b/io.h index cf2816d..e8a929d 100644 --- a/io.h +++ b/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 +#endif + #endif