view modules/lchown @ 15007:d3a315873582

truncf: Move AC_LIBOBJ invocations to module description. * m4/truncf.m4 (gl_FUNC_TRUNCF): Move AC_LIBOBJ invocation from here... * modules/truncf (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 11:29:32 +0200
parents efab6978105e
children 9acfed062e5f
line wrap: on
line source

Description:
lchown() function: change ownership of a file, without following symlinks.

Files:
lib/lchown.c
m4/lchown.m4

Depends-on:
unistd
chown           [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
errno           [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
lstat           [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
stdbool         [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
sys_stat        [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]

configure.ac:
gl_FUNC_LCHOWN
gl_UNISTD_MODULE_INDICATOR([lchown])

Makefile.am:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Jim Meyering, Eric Blake