view modules/argz @ 13442:2d4854871087

unitypes: Fix bug introduced on 2010-05-18.
author Ian Beckwith <ianb@erislabs.net>
date Tue, 29 Jun 2010 10:51:34 +0200
parents 67c2b22aff08
children f49fe7e6d028 b4cc3c41ca79
line wrap: on
line source

Description:
Argv style string arrays in a single null delimited char*.

Files:
lib/argz.in.h
lib/argz.c
m4/argz.m4

Depends-on:
memmove
mempcpy
stpcpy
strndup
strnlen
strstr

configure.ac:
gl_FUNC_ARGZ

Makefile.am:
BUILT_SOURCES += $(ARGZ_H)

# We need the following in order to create <argz.h> when the system
# doesn't have one that works with the given compiler.
argz.h: argz.in.h
	$(AM_V_GEN)rm -f $@-t $@ && \
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  cat $(srcdir)/argz.in.h; \
	} > $@-t && \
	mv -f $@-t $@
MOSTLYCLEANFILES += argz.h argz.h-t

Include:
<argz.h>

License:
LGPLv2+

Maintainer:
all