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