view modules/argz @ 14289:b5843d4d8441

New module 'wcscmp'. * modules/wcscmp: New file. * lib/wchar.in.h (wcscmp): New declaration. * lib/wcscmp.c: New file. * lib/wcscmp-impl.h: New file, from libutf8 with modifications. * m4/wcscmp.m4: New file. * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcscmp is declared. (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSCMP, HAVE_WCSCMP. * modules/wchar (Makefile.am): Substitute GNULIB_WCSCMP, HAVE_WCSCMP. * tests/test-wchar-c++.cc: Test the declaration of wcscmp. * doc/posix-functions/wcscmp.texi: Mention the new module.
author Bruno Haible <bruno@clisp.org>
date Sun, 06 Feb 2011 04:39:48 +0100
parents 8f6d3e05c7e2
children 8636d98120a9 662ae53d8d37
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