util-lib: split out fd-related operations into fd-util.[ch]

There are more than enough to deserve their own .c file, hence move them
over.
This commit is contained in:
Lennart Poettering
2015-10-25 13:19:18 +01:00
parent 04c0136989
commit 3ffd4af220
275 changed files with 982 additions and 668 deletions
+3 -2
View File
@@ -27,9 +27,10 @@
#include <limits.h>
#include <sys/file.h>
#include "util.h"
#include "lockfile-util.h"
#include "fd-util.h"
#include "fileio.h"
#include "lockfile-util.h"
#include "util.h"
int make_lock_file(const char *p, int operation, LockFile *ret) {
_cleanup_close_ int fd = -1;