5 int openat(int fd
, const char *filename
, int flags
, ...)
9 if ((flags
& O_CREAT
) || (flags
& O_TMPFILE
) == O_TMPFILE
) {
12 mode
= va_arg(ap
, mode_t
);
16 return syscall_cp(SYS_openat
, fd
, filename
, flags
|O_LARGEFILE
, mode
);
19 weak_alias(openat
, openat64
);