xref: /third_party/musl/src/legacy/euidaccess.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/legacy/
1570af302Sopenharmony_ci#define _GNU_SOURCE
2570af302Sopenharmony_ci#include <unistd.h>
3570af302Sopenharmony_ci#include <fcntl.h>
4570af302Sopenharmony_ci
5570af302Sopenharmony_ciint euidaccess(const char *filename, int amode)
6570af302Sopenharmony_ci{
7570af302Sopenharmony_ci	return faccessat(AT_FDCWD, filename, amode, AT_EACCESS);
8570af302Sopenharmony_ci}
9570af302Sopenharmony_ci
10570af302Sopenharmony_ciweak_alias(euidaccess, eaccess);
11

Indexes created Thu Nov 07 10:32:03 CST 2024