summaryrefslogtreecommitdiff
path: root/src/legacy/euidaccess.c
blob: 47b464d357c2666e35605334182656619e42a396 (plain)
1
2
3
4
5
6
7
8
9
10
#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);