4 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
6 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
9 #include <sys/syscall.h>
12 #if defined __NR_faccessat && !defined __NR_access
14 int access(const char *pathname
, int mode
)
16 return faccessat(AT_FDCWD
, pathname
, mode
, 0);
20 _syscall2(int, access
, const char *, pathname
, int, mode
)