access ¶POSIX specification:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/access.html
Portability problems fixed by Gnulib:
X_OK mode on some platforms:
MSVC 14.
Portability problems not fixed by Gnulib:
Other problems of this function:
stat versus lstat). If you need this option, use
the Gnulib module faccessat with the AT_EACCESS flag.
X_OK even if the file
does not have the x permission bit set.
execlp or execvp. Nevertheless,
this function may return true for such files.
execlp and execvp search for files with the
suffixes .com, .exe, .bat, .cmd, when the
file with the given file name does not exist. Whereas cmd.exe
searches according to the PATHEXT environment variable. This
function does not perform any search; it merely looks at the file with
the given file name.