view modules/symlink @ 17450:fcdfb5b7741a

* lib/tmpdir.c: Simplify code to add slash; no need for a loop.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 15 Jul 2013 13:32:24 -0700
parents 15f55e6c30d6
children
line wrap: on
line source

Description:
symlink() function: create a symlink, if possible

Files:
lib/symlink.c
m4/symlink.m4

Depends-on:
unistd
lstat           [test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1]

configure.ac:
gl_FUNC_SYMLINK
if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
  AC_LIBOBJ([symlink])
fi
gl_UNISTD_MODULE_INDICATOR([symlink])

Makefile.am:

Include:
<unistd.h>

License:
LGPL

Maintainer:
Eric Blake