diff options
| author | Manuel Bentele | 2020-12-02 13:08:58 +0100 |
|---|---|---|
| committer | Manuel Bentele | 2020-12-02 13:08:58 +0100 |
| commit | 9fc030ed9bffec9f9715595dd5a205a353912d3c (patch) | |
| tree | 8137142e94abf7cd4eefd3b591c487d034b57e50 /src/utils/include/fileutils.h | |
| parent | Setup xloop device with XLOOP_CONFIGURE ioctl call (diff) | |
| download | xloop-9fc030ed9bffec9f9715595dd5a205a353912d3c.tar.gz xloop-9fc030ed9bffec9f9715595dd5a205a353912d3c.tar.xz xloop-9fc030ed9bffec9f9715595dd5a205a353912d3c.zip | |
Update xlosetup's 'lib' and 'libsmartcol' from util-linux 2.36.1
Diffstat (limited to 'src/utils/include/fileutils.h')
| -rw-r--r-- | src/utils/include/fileutils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/include/fileutils.h b/src/utils/include/fileutils.h index 479ad15..618bf39 100644 --- a/src/utils/include/fileutils.h +++ b/src/utils/include/fileutils.h @@ -74,4 +74,8 @@ static inline struct dirent *xreaddir(DIR *dp) extern void close_all_fds(const int exclude[], size_t exsz); +#define UL_COPY_READ_ERROR (-1) +#define UL_COPY_WRITE_ERROR (-2) +int ul_copy_file(int from, int to); + #endif /* UTIL_LINUX_FILEUTILS */ |
