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

                   



                                               
                                                                


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

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

weak_alias(euidaccess, eaccess);