1374 #define netbuf_grab netbuf_grab |
1374 #define netbuf_grab netbuf_grab |
1375 |
1375 |
1376 /* file */ |
1376 /* file */ |
1377 NSAPI_PUBLIC int system_fread(SYS_FILE fd, void *buf, int nbyte); |
1377 NSAPI_PUBLIC int system_fread(SYS_FILE fd, void *buf, int nbyte); |
1378 NSAPI_PUBLIC int system_fwrite(SYS_FILE fd, const void *buf, int nbyte); |
1378 NSAPI_PUBLIC int system_fwrite(SYS_FILE fd, const void *buf, int nbyte); |
|
1379 NSAPI_PUBLIC off_t system_lseek(SYS_FILE fd, off_t offset, int whence); |
1379 NSAPI_PUBLIC int system_fclose(SYS_FILE fd); |
1380 NSAPI_PUBLIC int system_fclose(SYS_FILE fd); |
1380 |
1381 |
1381 NSAPI_PUBLIC int util_errno2status(int errno_value); // new |
1382 NSAPI_PUBLIC int util_errno2status(int errno_value); // new |
1382 #define util_errno2status util_errno2status |
1383 #define util_errno2status util_errno2status |
1383 |
1384 |