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

NAME

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

SYNOPSIS

9       int scnprintf(char * buf, size_t size, const char * fmt, ...);
10

ARGUMENTS

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

DESCRIPTION

25       The return value is the number of characters written into buf not
26       including the trailing '\0'. If size is == 0 the function returns 0.
27
29Kernel Hackers Manual 3.10         June 2019                      SCNPRINTF(9)
Impressum