chiark / gitweb /
Be more careful when checking for empty files
[elogind.git] / src / shared / util.h
index b3187a9ea1d708e789b22862d8544c381526bb22..d9d525e8a51215eedcb815d5f6c8de924602faae 100644 (file)
@@ -499,6 +499,7 @@ noreturn void freeze(void);
 
 bool null_or_empty(struct stat *st) _pure_;
 int null_or_empty_path(const char *fn);
+int null_or_empty_fd(int fd);
 
 DIR *xopendirat(int dirfd, const char *name, int flags);