Home
last modified time | relevance | path

Searched refs:mode_flags (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/basic/
Dchase-symlinks.c542 int mode_flags, r; in chase_symlinks_and_fopen_unlocked() local
548 mode_flags = fopen_mode_to_flags(open_flags); in chase_symlinks_and_fopen_unlocked()
549 if (mode_flags < 0) in chase_symlinks_and_fopen_unlocked()
550 return mode_flags; in chase_symlinks_and_fopen_unlocked()
552 … fd = chase_symlinks_and_open(path, root, chase_flags, mode_flags, ret_path ? &final_path : NULL); in chase_symlinks_and_fopen_unlocked()
Dfileio.c1016 int fd, mode_flags; in xfopenat() local
1018 mode_flags = fopen_mode_to_flags(mode); in xfopenat()
1019 if (mode_flags < 0) in xfopenat()
1020 return mode_flags; in xfopenat()
1022 fd = openat(dir_fd, path, mode_flags | flags); in xfopenat()