euidaccess.c 204 B

12345678910
  1. #define _GNU_SOURCE
  2. #include <unistd.h>
  3. #include <fcntl.h>
  4. int euidaccess(const char *filename, int amode)
  5. {
  6. return faccessat(AT_FDCWD, filename, amode, AT_EACCESS);
  7. }
  8. weak_alias(euidaccess, eaccess);