Samsung Internal API reference  2.0
print_no_alloc.h
Go to the documentation of this file.
1 
8 #ifndef PRINT_NO_ALLOC_H
9 #define PRINT_NO_ALLOC_H
10 
14 #define AUTO_BUFFER_SIZE 1024
15 
27 extern int printf_no_alloc(const char *fmt, ...)
28  __attribute__ ((format (printf, 1, 2)));
29 
30 #endif // PRINT_NO_ALLOC_H
int printf(const char *fmt,...)
Format and print string.
int printf_no_alloc(const char *fmt,...)
Prints to ringbuffer. If resulting string exceeds AUTO_BUFFER_SIZE, cuts it off to AUTO_BUFFER_SIZE...