view doc/posix-functions/lchown.texi @ 12355:9961377da68e

pread: new module * modules/pread: New file. * lib/pread.c (pread): New file. * m4/pread.m4: Likewise. * lib/unistd.in.h (pread): Define/declare. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Define defaults. * modules/unistd (Makefile.am): Substitute witnesses. * doc/posix-functions/pread.texi (pread): Update. * MODULES.html.sh: Add pread.
author Jim Meyering <meyering@redhat.com>
date Wed, 25 Nov 2009 14:33:30 +0100
parents e92d9385e4ca
children bb0ceefd22dc
line wrap: on
line source

@node lchown
@section @code{lchown}
@findex lchown

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

Gnulib module: lchown

Portability problems fixed by Gnulib:
@itemize
@item
Some platforms fail to detect trailing slash on non-directories, as in
@code{lchown("link-to-file/",uid,gid)}:
FreeBSD 7.2, Solaris 9.
@item
Some platforms fail to update the change time when at least one
argument was not -1, but no ownership changes resulted.  However,
without @code{lchmod}, the replacement only fixes this for non-symlinks:
OpenBSD 4.0.
@item
This function is missing on some platforms; however, the replacement
fails on symlinks if @code{chown} is supported, and fails altogether
with @code{ENOSYS} otherwise:
MacOS X 10.3, mingw, BeOS.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize