1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* SPDX-License-Identifier: GPL-3.0-or-later */ #ifndef UTIL_H #define UTIL_H #include <sys/types.h> int canonicalize_name(char *filename); ssize_t write_retry(int fd, void *data, size_t size); ssize_t read_retry(int fd, void *buffer, size_t size); void print_version(void); int mkdir_p(const char *path); #endif /* UTIL_H */