Projects : keksum : keksum_subdir_genesis
1 | #include <stddef.h> |
2 | |
3 | void write_all(int fd, char const *buf, size_t len); |
4 | size_t read_all(int fd, unsigned char *buf, size_t len); |
5 | void write_str(int fd, char const *s); |
6 | void newline(int fd); |
7 | void write_line(int fd, char const *s); |
8 | #define assert(expr) ((void) ((expr) || (assert_fail(#expr), 0))) |
9 | void assert_fail(char const *expr); |
10 | void perr(char const *context); |
11 | int chkp(char const *context, int ret); |