1
0
Fork 0
mirror of https://github.com/pygos/pkg-utils.git synced 2024-11-16 18:37:12 +01:00
pkg-utils/include/util.h
David Oberhollenzer e3740ba387 Move mkdir_p helper function to main code
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-01-29 22:03:33 +01:00

14 lines
258 B
C

#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);
int mkdir_p(const char *path);
#endif /* UTIL_H */