src/server/public/nsapi.h

changeset 58
66c22e54aa90
parent 56
c6cf20b09043
child 59
ab25c0a231d0
--- a/src/server/public/nsapi.h	Sun Mar 17 19:19:57 2013 +0100
+++ b/src/server/public/nsapi.h	Tue Mar 19 17:38:32 2013 +0100
@@ -1315,6 +1315,11 @@
 #define netbuf_getbytes    netbuf_getbytes
 #define netbuf_grab        netbuf_grab
 
+/* file */
+NSAPI_PUBLIC int system_fread(SYS_FILE fd, void *buf, int nbyte);
+NSAPI_PUBLIC int system_fwrite(SYS_FILE fd, const void *buf, int nbyte);
+NSAPI_PUBLIC int system_fclose(SYS_FILE fd);
+
 NSAPI_PUBLIC int util_errno2status(int errno_value);
 #define util_errno2status util_errno2status
 

mercurial