diff options
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -30,6 +30,7 @@ void error_msg(char *msg, ...); void perror_msg(char *msg, ...); void error_exit(char *msg, ...); void perror_exit(char *msg, ...); +void usage_exit(void); void strlcpy(char *dest, char *src, size_t size); void *xmalloc(size_t size); void *xzalloc(size_t size); @@ -46,7 +47,8 @@ ssize_t reread(int fd, void *buf, size_t count); ssize_t rewrite(int fd, void *buf, size_t count); ssize_t readall(int fd, void *buf, size_t count); ssize_t writeall(int fd, void *buf, size_t count); -void xread(int fd, void *buf, size_t count); +size_t xread(int fd, void *buf, size_t count); +void xreadall(int fd, void *buf, size_t count); void xwrite(int fd, void *buf, size_t count); char *xgetcwd(void); char *xabspath(char *path); |