5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/access.html}
9 Portability problems fixed by Gnulib:
12 This function does not support the @code{X_OK} mode on some platforms:
16 Portability problems not fixed by Gnulib:
19 This function uses the effective id instead of the real id on some
24 Other problems of this function:
27 There is an inherent race between calling this function and performing
28 some action based on the results; you should think twice before trusting
29 this function, especially in a set-uid or set-gid program.
31 This function does not have an option for not following symbolic links
32 (like @code{stat} versus @code{lstat}). If you need this option, use
33 the Gnulib module @code{faccessat} with the @code{AT_EACCESS} flag.
35 On native Windows, files whose basename does not contain a @samp{.}
36 cannot be executed through @code{execlp} or @code{execvp}. Nevertheless,
37 this function may return true for such files.
39 On Windows, different facilities for executing a program have different
40 ways of finding an executable file, by trying various suffixes. For
41 example, @code{execlp} and @code{execvp} search for files with the
42 suffixes @code{.com}, @code{.exe}, @code{.bat}, @code{.cmd}, when the
43 file with the given file name does not exist. Whereas @code{cmd.exe}
44 searches according to the @code{PATHEXT} environment variable. This
45 function does not perform any search; it merely looks at the file with