view doc/posix-functions/dirfd.texi @ 17935:0ad1f4c9eed5 default tip

tests: support stderr verification with returns_() * tests/init.sh (returns_): Disable tracing for this wrapper function, so that stderr of the wrapped command is unchanged, allowing for verification of the contents.
author Pádraig Brady <P@draigBrady.com>
date Mon, 16 Feb 2015 17:20:39 +0000
parents 6355dc4626b5
children
line wrap: on
line source

@node dirfd
@section @code{dirfd}
@findex dirfd

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/dirfd.html}

Gnulib module: dirfd

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8, AIX 7.1, HP-UX 11, OSF/1 5.1, Solaris 10, mingw, MSVC 9.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function always fails on some platforms:
mingw.
@end itemize

With the @code{dirfd} module, this functions always sets @code{errno} when it
fails. (POSIX does not require that @code{dirfd} sets @code{errno} when it
fails.)