1VSCNPRINTF(9)              Basic C Library Functions             VSCNPRINTF(9)
2
3
4

NAME

6       vscnprintf - Format a string and place it in a buffer
7

SYNOPSIS

9       int vscnprintf(char * buf, size_t size, const char * fmt,
10                      va_list args);
11

ARGUMENTS

13       buf
14           The buffer to place the result into
15
16       size
17           The size of the buffer, including the trailing null space
18
19       fmt
20           The format string to use
21
22       args
23           Arguments for the format string
24

DESCRIPTION

26       The return value is the number of characters which have been written
27       into the buf not including the trailing '\0'. If size is <= 0 the
28       function returns 0.
29
30       Call this function if you are already dealing with a va_list. You
31       probably want scnprintf instead.
32
33       See the vsnprintf documentation for format string extensions over C99.
34
36Kernel Hackers Manual 2.6.       November 2011                   VSCNPRINTF(9)
Impressum