diff options
Diffstat (limited to '')
-rw-r--r-- | src/file.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -98,6 +98,11 @@ free: return NULL; } +void file_close(int fd) +{ + log_errno_if(close(fd), "close"); +} + int file_exists(const char *path) { struct stat stat; |