/* euidaccess -- check if effective user id can access file
- Copyright (C) 1990-1991, 1995, 1998, 2000, 2003-2006, 2008-2010 Free
+ Copyright (C) 1990-1991, 1995, 1998, 2000, 2003-2006, 2008-2011 Free
Software Foundation, Inc.
This file is part of the GNU C Library.
# undef stat
# define stat stat64
-#else
-
-# include "group-member.h"
-
#endif
/* Return 0 if the user has permission of type MODE on FILE;
int
euidaccess (const char *file, int mode)
{
-#if HAVE_FACCESSAT /* glibc */
+#if HAVE_FACCESSAT /* glibc, AIX 7, Solaris 11, Cygwin 1.7 */
return faccessat (AT_FDCWD, file, mode, AT_EACCESS);
#elif defined EFF_ONLY_OK /* IRIX, OSF/1, Interix */
return access (file, mode | EFF_ONLY_OK);