view modules/linkat @ 15887:89c762414427

New module 'atanf'. * lib/math.in.h (atanf): New declaration. * lib/atanf.c: New file. * m4/atanf.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether atanf is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_ATANF, HAVE_ATANF. * modules/math (Makefile.am): Substitute GNULIB_ATANF, HAVE_ATANF. * modules/atanf: New file. * tests/test-math-c++.cc: Check the declaration of atanf. * doc/posix-functions/atanf.texi: Mention the new module.
author Bruno Haible <bruno@clisp.org>
date Sat, 08 Oct 2011 23:55:44 +0200
parents 16f47458947e
children dc33aa820898
line wrap: on
line source

Description:
linkat() function: create a hard link, relative to two directories

Files:
lib/at-func2.c
lib/linkat.c
m4/linkat.m4

Depends-on:
unistd
extensions
areadlink        [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
areadlinkat      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
dirname-lgpl     [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
dosname          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
errno            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
fcntl-h          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
filenamecat-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
fstat            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
getcwd-lgpl      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
openat           [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
link             [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
link-follow      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
lstat            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
same-inode       [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
save-cwd         [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
symlink          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]

configure.ac:
gl_FUNC_LINKAT
if test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1; then
  AC_LIBOBJ([linkat])
fi
if test $HAVE_LINKAT = 0; then
  AC_LIBOBJ([at-func2])
fi
gl_UNISTD_MODULE_INDICATOR([linkat])

Makefile.am:

Include:
<fcntl.h>
<unistd.h>

License:
GPL

Maintainer:
Jim Meyering, Eric Blake