4 * Copyright (C) 2009 Analog Devices Inc.
6 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
9 #include <sys/syscall.h>
13 # define __NR___syscall_openat __NR_openat
14 static __inline__ _syscall4(int, __syscall_openat, int, fd, const char *, file, int, oflag, mode_t, mode)
15 strong_alias_untyped(__syscall_openat,openat)
16 libc_hidden_def(openat)
18 /* should add emulation with open() and /proc/self/fd/ ... */