9.15 access
POSIX specification:
http://www.opengroup.org/onlinepubs/9699919799/functions/access.html
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
- This function uses the effective id instead of the real id on some
platforms:
Cygwin 1.5.x.
Other problems of this function:
- There is an inherent race between calling this function and performing
some action based on the results; you should think twice before trusting
this function, especially in a set-uid or set-gid program.
- This function does not have an option for not following symbolic links
(like
stat versus lstat). If you need this option, use
the Gnulib module faccessat with the AT_EACCESS flag.