view modules/snprintf @ 17935:0ad1f4c9eed5 default tip

tests: support stderr verification with returns_() * tests/init.sh (returns_): Disable tracing for this wrapper function, so that stderr of the wrapped command is unchanged, allowing for verification of the contents.
author Pádraig Brady <P@draigBrady.com>
date Mon, 16 Feb 2015 17:20:39 +0000
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
snprintf() function: print formatted output to a fixed length string

Files:
lib/snprintf.c
m4/snprintf.m4
m4/printf.m4

Depends-on:
stdio
vasnprintf      [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]
errno           [test $ac_cv_func_snprintf = no || test $REPLACE_SNPRINTF = 1]

configure.ac:
gl_FUNC_SNPRINTF
gl_STDIO_MODULE_INDICATOR([snprintf])
gl_MODULE_INDICATOR([snprintf])

Makefile.am:

Include:
<stdio.h>

License:
LGPLv2+

Maintainer:
Simon Josefsson, Paul Eggert