view modules/link @ 40209:c43e83386661

autoupdate
author Karl Berry <karl@freefriends.org>
date Fri, 08 Mar 2019 09:27:47 -0800
parents ff4e14f9c0be
children
line wrap: on
line source

Description:
link() function: create a new link for an existing file

Files:
lib/link.c
m4/link.m4

Depends-on:
unistd
stat            [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1]
strdup-posix    [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1]
sys_stat        [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1]

configure.ac:
gl_FUNC_LINK
if test $HAVE_LINK = 0 || test $REPLACE_LINK = 1; then
  AC_LIBOBJ([link])
fi
gl_UNISTD_MODULE_INDICATOR([link])

Makefile.am:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Martin Lambers, Eric Blake