summaryrefslogblamecommitdiff
path: root/src/legacy/euidaccess.c
blob: 6e1f39855e89e91cc1bc1b73eab385355ef1f7ed (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                   

                   


                                               
                                                                


                                
#define _GNU_SOURCE
#include <unistd.h>
#include <fcntl.h>

int euidaccess(const char *filename, int amode)
{
	return faccessat(AT_FDCWD, filename, amode, AT_EACCESS);
}

weak_alias(euidaccess, eaccess);