Download avr-libc Reference Manual
Transcript
5.18 General utilities 5.17.3.34 56 int vfscanf_P (FILE ∗ __stream, const char ∗ __fmt, va_list __ap) Variant of vfscanf() using a fmt string in program memory. 5.17.3.35 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. 5.17.3.36 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. 5.17.3.37 int vsprintf (char ∗ __s, const char ∗ __fmt, va_list ap) Like sprintf() but takes a variable argument list for the arguments. 5.17.3.38 int vsprintf_P (char ∗ __s, const char ∗ __fmt, va_list ap) Variant of vsprintf() that uses a fmt string that resides in program memory. 5.18 General utilities 5.18.1 Detailed Description #include <stdlib.h> This file declares some basic C macros and functions as defined by the ISO standard, plus some AVR-specific extensions. Data Structures • struct div_t • struct ldiv_t Non-standard (i.e. non-ISO C) functions. • #define RANDOM_MAX 0x7FFFFFFF • char ∗ itoa (int __val, char ∗__s, int __radix) • char ∗ ltoa (long int __val, char ∗__s, int __radix) Generated on Tue Feb 15 16:09:56 2005 for avr-libc by Doxygen