From cb483e04aa9d67368c6e11cddf6d58fc0c80713e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 6 Jan 2006 11:22:10 +0000 Subject: * io/euidaccess.c: Add eaccess as an alias. * sysdeps/mach/hurd/euidaccess.c: Likewise. * sysdeps/posix/euidaccess.c: Likewise. * posix/unistd.h [__USE_GNU]: Declare eaccess. * io/Versions (libc: GLIBC_2.4): Add eaccess. --- posix/unistd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'posix/unistd.h') diff --git a/posix/unistd.h b/posix/unistd.h index 480de5e40f..1bf843ce63 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -260,6 +260,10 @@ extern int access (__const char *__name, int __type) __THROW __nonnull ((1)); (as normal file operations use). */ extern int euidaccess (__const char *__name, int __type) __THROW __nonnull ((1)); + +/* An alias for `euidaccess', used by some other systems. */ +extern int eaccess (__const char *__name, int __type) + __THROW __nonnull ((1)); #endif -- cgit v1.2.1