diff options
author | Roland McGrath <roland@gnu.org> | 2006-01-06 11:22:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-01-06 11:22:10 +0000 |
commit | cb483e04aa9d67368c6e11cddf6d58fc0c80713e (patch) | |
tree | 311d6cb3ca05fe83281b893ac26f2031c1277dd9 /posix | |
parent | e7b8c7bc7326ecbbb96af06d8b77f99aad3a84e4 (diff) | |
download | glibc-cb483e04aa9d67368c6e11cddf6d58fc0c80713e.tar.gz |
* 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.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/unistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |