Macros by Category Revision History
Search:

ac_func_snprintf

SYNOPSIS

AC_FUNC_SNPRINTF

DESCRIPTION

Checks for a fully C99 compliant snprintf, in particular checks whether it does bounds checking and returns the correct string length; does the same check for vsnprintf. If no working snprintf or vsnprintf is found, request a replacement and warn the user about it. Note: the mentioned replacement is freely available and may be used in any project regardless of it's license.

SOURCE CODE

http://autoconf-archive.cryp.to/ac_func_snprintf.m4

LICENSE

Copyright © 2008 Rüdiger Kuhlmann <info@ruediger-kuhlmann.de>

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.