view modules/linkat @ 14271:b4cc3c41ca79

libposix: Add _HEADERS primaries to posix modules. Modify gnulib-tool to strip them from generated Makefile.am-s where they are not needed. Also, replace M4 macro prefixes when requested. Finally, omit calls to error() for libposix.
author Bruce Korb <bkorb@gnu.org>
date Sat, 05 Feb 2011 08:22:48 -0800
parents a5a62a275448
children fc14417fc753
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:
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