view modules/euidaccess @ 17907:0a1c2535cad9

euidaccess: Fix Android build * modules/euidaccess (Depends-on): Add fcntl-h to ensure that AT_EACCESS gets declared.
author Kevin Cernekee <cernekee@google.com>
date Wed, 11 Feb 2015 15:22:54 -0800
parents 9009d83acea4
children
line wrap: on
line source

Description:
euidaccess() function: check effective user's permissions for a file.

Files:
lib/euidaccess.c
m4/euidaccess.m4

Depends-on:
unistd
extensions
root-uid
fcntl-h
group-member    [test $HAVE_EUIDACCESS = 0]
stat            [test $HAVE_EUIDACCESS = 0]
sys_stat        [test $HAVE_EUIDACCESS = 0]

configure.ac:
gl_FUNC_EUIDACCESS
if test $HAVE_EUIDACCESS = 0; then
  AC_LIBOBJ([euidaccess])
  gl_PREREQ_EUIDACCESS
fi
gl_UNISTD_MODULE_INDICATOR([euidaccess])

Makefile.am:

Include:
<unistd.h>

Link:
$(LIB_EACCESS)

License:
LGPLv2+

Maintainer:
Jim Meyering, glibc