Next: , Previous: , Up: The Macros  





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.


Copyright © 2008 Ruediger Kuhlmann

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.