File: ax_func_snprintf.texi

package info (click to toggle)
autoconf-archive 20111221-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,528 kB
  • sloc: sh: 836; python: 62; makefile: 36
file content (34 lines) | stat: -rw-r--r-- 1,199 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
@node ax_func_snprintf
@unnumberedsec ax_func_snprintf

@majorheading Synopsis

@smallexample
AX_FUNC_SNPRINTF
@end smallexample

@majorheading 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.

@majorheading Source Code

Download the
@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_snprintf.m4,latest
version of @file{ax_func_snprintf.m4}} or browse
@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_snprintf.m4,the
macro's revision history}.

@majorheading License

@w{Copyright @copyright{} 2008 Ruediger Kuhlmann @email{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.