Hash :
2fac6f35
Author :
Date :
2010-12-19T14:33:14
fchdir: Add missing declaration on OSF/1 5.1. * lib/unistd.in.h (fchdir): Provide declaration if systems lacks it. * m4/fchdir.m4 (gl_FUNC_FCHDIR): Check whether fchdir is declared. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize HAVE_DECL_FCHDIR. * modules/unistd (Makefile.am): Substitute HAVE_DECL_FCHDIR. * doc/posix-functions/fchdir.texi: Mention the OSF/1 5.1 problem.
@node fchdir
@section @code{fchdir}
@findex fchdir
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fchdir.html}
Gnulib module: fchdir
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Tandem/NSK, mingw, BeOS.
But the replacement function is not safe to be used in libraries and is not multithread-safe.
@item
This function is not declared on some platforms:
OSF/1 5.1.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize