view modules/link @ 40196:e63f5d3edab5

relocatable-prog: Update documentation. * doc/relocatable-maint.texi (Supporting Relocation): Update to match the recent changes.
author Bruno Haible <bruno@clisp.org>
date Sun, 24 Feb 2019 01:49:15 +0100
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