implement copy chunk

This commit is contained in:
Ryo Nakamura
2022-10-22 18:23:42 +09:00
parent ab0bf7e5dc
commit b2ae183c81
5 changed files with 380 additions and 34 deletions

View File

@@ -34,10 +34,13 @@ extern int verbose;
"ERR:%s(): " fmt "\x1b[0m", \
__func__, ##__VA_ARGS__)
#ifdef DEBUG
#define pr_debug(fmt, ...) fprintf(stderr, "\x1b[1m\x1b[33m" \
"DEBUG:%s(): " fmt "\x1b[0m", \
__func__, ##__VA_ARGS__);
#else
#define pr_debug(fmt, ...)
#endif
#define strerrno() strerror(errno)