xf.li | aa4d92f | 2023-09-13 00:18:58 -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 | extern ssize_t open_write_close(const char *filename, void *buf, size_t size); |
| 12 | |
| 13 | #endif |