Next: , Previous: , Up: The Macros  


ax_func_snprintf

Synopsis

AX_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

Download the latest version of ax_func_snprintf.m4 or browse the macro’s revision history.

License

Copyright © 2008 Ruediger 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. This file is offered as-is, without any warranty.