diff options
Diffstat (limited to 'ioexact.h')
-rw-r--r-- | ioexact.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,9 @@ #ifndef IOEXACT_H #define IOEXACT_H -extern ssize_t read_exact(int fd, void *buf, size_t len, int mayexit); -extern ssize_t write_exact(int fd, void *buf, size_t len, int mayexit); +#include <stdbool.h> + +extern ssize_t read_exact(int fd, void *buf, size_t len, bool mayexit); +extern ssize_t write_exact(int fd, void *buf, size_t len, bool mayexit); #endif /* IOEXACT_H */ |