view modules/linkat @ 12216:6d969d9c190a

filenamecat-lgpl: adjust clients at-func2 still needs xalloc_die because of openat-die, but this change is still good to make. * modules/linkat (Depends-on): Use filenamecat-lgpl, not filenamecat. * modules/renameat (Depends-on): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Thu, 29 Oct 2009 12:09:48 -0600
parents d642b5a319a9
children a5a62a275448
line wrap: on
line source

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

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

Depends-on:
areadlink
areadlinkat
dirname-lgpl
errno
extensions
fcntl-h
filenamecat-lgpl
openat
link
link-follow
lstat
readlink
same-inode
stpcpy
symlink
symlinkat
unistd

configure.ac:
gl_FUNC_LINKAT
gl_UNISTD_MODULE_INDICATOR([linkat])

Makefile.am:

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

License:
GPL

Maintainer:
Jim Meyering, Eric Blake