lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | |
2 | #ifndef __ZXICBASIC_API_H | ||||
3 | #define __ZXICBASIC_API_H | ||||
4 | |||||
5 | extern ssize_t safe_read(int fd, void *buf, size_t count); | ||||
6 | extern ssize_t full_read(int fd, void *buf, size_t len); | ||||
7 | extern ssize_t read_close(int fd, void *buf, size_t size); | ||||
8 | extern ssize_t open_read_close(const char *filename, void *buf, size_t size); | ||||
9 | extern ssize_t safe_write(int fd, const void *buf, size_t count); | ||||
10 | extern ssize_t full_write(int fd, const void *buf, size_t len); | ||||
11 | |||||
12 | #endif |