fn openatZ(dir_fd: fd_t, file_path: [*:0]const u8, flags: u32, mode: mode_t) OpenError!fd_t

Open and possibly create a file. Keeps trying if it gets interrupted. file_path is relative to the open directory handle dir_fd. See also openat.

Parameters

dir_fd: fd_t,
file_path: [*:0]const u8,
flags: u32,
mode: mode_t,