blob: 60b6824a18318efe766714f74ed75eda87a1ec37 [file] [log] [blame]
#ifndef __ZXICBASIC_API_H
#define __ZXICBASIC_API_H
extern ssize_t safe_read(int fd, void *buf, size_t count);
extern ssize_t full_read(int fd, void *buf, size_t len);
extern ssize_t read_close(int fd, void *buf, size_t size);
extern ssize_t open_read_close(const char *filename, void *buf, size_t size);
extern ssize_t safe_write(int fd, const void *buf, size_t count);
extern ssize_t full_write(int fd, const void *buf, size_t len);
extern ssize_t open_write_close(const char *filename, void *buf, size_t size);
#endif