Searched defs:open_fd (Results 1 - 2 of 2) sorted by relevance

/systemd/src/import/
H A Dexport.c79 _cleanup_close_ int open_fd = -1; local
103 open_fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC|O_NOCTTY, 0666);
104 if (open_fd < 0)
107 fd = open_fd;
158 _cleanup_close_ int open_fd = -1; local
182 open_fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC|O_NOCTTY, 0666);
183 if (open_fd < 0)
186 fd = open_fd;
H A Dimport.c61 _cleanup_close_ int open_fd = -1; local
101 open_fd = open(path, O_RDONLY|O_CLOEXEC|O_NOCTTY);
102 if (open_fd < 0)
105 fd = open_fd;
156 _cleanup_close_ int open_fd = -1; local
196 open_fd = open(path, O_RDONLY|O_CLOEXEC|O_NOCTTY);
197 if (open_fd < 0)
200 fd = open_fd;

Completed in 10 milliseconds