euidaccess.c 204 字节
Newer Older
1
#define _GNU_SOURCE
2 3 4 5 6
#include <unistd.h>
#include <fcntl.h>

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

weak_alias(euidaccess, eaccess);