fileio: modernize xopendirat() a bit

This commit is contained in:
Lennart Poettering
2025-09-19 08:39:32 +02:00
parent 7b7f0983e0
commit 93dea63fab
4 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ int script_get_shebang_interpreter(const char *path, char **ret);
int get_proc_field(const char *path, const char *key, char **ret);
DIR* xopendirat(int dir_fd, const char *name, int flags);
DIR* xopendirat(int dir_fd, const char *path, int flags);
typedef enum XfopenFlags {
XFOPEN_UNLOCKED = 1 << 0, /* call __fsetlocking(FSETLOCKING_BYCALLER) after opened */