fix POLLWRNORM and POLLWRBAND on mips
[musl] / src / legacy / euidaccess.c
1 #define _GNU_SOURCE
2 #include <unistd.h>
3 #include <fcntl.h>
4 #include "libc.h"
5
6 int euidaccess(const char *filename, int amode)
7 {
8         return faccessat(AT_FDCWD, filename, amode, AT_EACCESS);
9 }
10
11 weak_alias(euidaccess, eaccess);