Download avr-libc Reference Manual

Transcript
6.19
<stdio.h>: Standard IO facilities
93
provided in the library libscanf_min.a, and can be requested using the following
options in the link stage:
-Wl,-u,vfscanf -lscanf_min -lm
In addition to the restrictions of the standard version, this version implements no field
width specification, no conversion assignment suppression flag (∗), no n specification,
and no general format character matching at all. All characters in fmt that do not
comprise a conversion specification will simply be ignored, including white space (that
is normally used to consume any amount of white space in the input stream). However,
the usual skip of initial white space in the formats that support it is implemented.
6.19.3.35
int vfscanf_P (FILE ∗ __stream, const char ∗ __fmt, va_list __ap)
Variant of vfscanf() using a fmt string in program memory.
6.19.3.36
int vprintf (const char ∗ __fmt, va_list __ap)
The function vprintf performs formatted output to stream stdout, taking a variable argument list as in vfprintf().
See vfprintf() for details.
6.19.3.37
int vscanf (const char ∗ __fmt, va_list __ap)
The function vscanf performs formatted input from stream stdin, taking a variable
argument list as in vfscanf().
See vfscanf() for details.
6.19.3.38
int vsnprintf (char ∗ __s, size_t __n, const char ∗ __fmt, va_list ap)
Like vsprintf(), but instead of assuming s to be of infinite size, no more than n
characters (including the trailing NUL character) will be converted to s.
Returns the number of characters that would have been written to s if there were
enough space.
6.19.3.39
int vsnprintf_P (char ∗ __s, size_t __n, const char ∗ __fmt, va_list ap)
Variant of vsnprintf() that uses a fmt string that resides in program memory.
6.19.3.40
int vsprintf (char ∗ __s, const char ∗ __fmt, va_list ap)
Like sprintf() but takes a variable argument list for the arguments.
Generated on Mon Oct 9 22:30:53 2006 for avr-libc by Doxygen