performs the same task as
with the difference that the file to be executed
is specified via a file descriptor,
rather than via a pathname.
The file descriptor
must be opened read-only,
and the caller must have permission to execute the file that it refers to.
A successful call to
On error, the function returns, with a result value of -1, and
is set appropriately.
Errors are as for
with the following additions:
is not a valid file descriptor, or
is NULL, or
file system could not be accessed.
is implemented since glibc 2.3.2.
This function is not specified in POSIX.1-2001,
and is not widely available on other systems.
is implemented using the
file system, so
needs to be mounted and available at the time of the call.