blob: 1640ba34d126353559870faa6eebd8ce16266e9a [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001
2#ifndef __ZXICBASIC_API_H
3#define __ZXICBASIC_API_H
4
5extern ssize_t safe_read(int fd, void *buf, size_t count);
6extern ssize_t full_read(int fd, void *buf, size_t len);
7extern ssize_t read_close(int fd, void *buf, size_t size);
8extern ssize_t open_read_close(const char *filename, void *buf, size_t size);
9extern ssize_t safe_write(int fd, const void *buf, size_t count);
10extern ssize_t full_write(int fd, const void *buf, size_t len);
11
12#endif