view modules/concat-filename @ 17724:8526f2f0b117

maint.mk: give projects more flexibilty in set_prog_name arguments * top/maint.mk (sc_program_name): Allow arguments other than argv[0] to be passed to set_program_name(). This is needed by the multicall coreutils program for example.
author Pádraig Brady <P@draigBrady.com>
date Sat, 12 Jul 2014 15:21:12 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
Construct a full filename by concatenating a directory name, a relative
filename, and a suffix.

Files:
lib/concat-filename.h
lib/concat-filename.c

Depends-on:
filename
malloc-posix
stpcpy

configure.ac:

Makefile.am:
lib_SOURCES += concat-filename.c

Include:
"concat-filename.h"

License:
LGPLv2+

Maintainer:
all