Samsung Internal API reference  2.0
stdio.h File Reference

Standard I/O. More...

Go to the source code of this file.

Macros

#define EOF   (-1)
 

Functions

int printf (const char *fmt,...)
 Format and print string. More...
 
int fprintf (FILE *_restrict_ stream, const char *_restrict_ fmt,...)
 The fprintf() is equivalent to the printf(), but uses a custom file handle. More...
 
int vfprintf (FILE *_restrict_ stream, const char *_restrict_ fmt, va_list ap)
 The vfprintf() is equivalent to the fprintf(), but uses an argument list. More...
 
int fflush (FILE *stream)
 Flush a stream. More...
 
int sprintf (char *s, const char *fmt,...)
 format and string and save it to `s'. More...
 
int printf_s (const char *_restrict_ fmt,...)
 format and print string. More...
 
int vsprintf_s (char *_restrict_ s, rsize_t n, const char *_restrict_ format, va_list arg)
 Write formatted data from variable length argument list to string. More...
 
int vsnprintf_s (char *_restrict_ s, rsize_t n, const char *_restrict_ format, va_list arg)
 Write formatted data from variable argument list to sized buffer. More...
 
int sprintf_s (char *_restrict_ s, rsize_t n, const char *_restrict_ format,...)
 format string and save it to `s'. More...
 
int snprintf_s (char *_restrict_ s, rsize_t n, const char *_restrict_ format,...)
 Format string and save it to `s'. More...
 
int sscanf_s (const char *_restrict_ s, const char *_restrict_ format,...)
 Reads data safely from buf and stores them according to parameter fmt into the locations given by the additional arguments. More...
 
int vsscanf_s (const char *_restrict_ s, const char *_restrict_ format, va_list arg)
 vsscanf unformat a buffer into a list of arguments. More...
 
int snprintf (char *s, size_t count, const char *fmt,...)
 format and string and save it to `s'. More...
 
int vsprintf (char *buffer, const char *format, va_list args)
 Write formatted data from variable argument list to string. More...
 
int vsnprintf (char *buffer, size_t size, const char *format, va_list args)
 Write formatted data from variable argument list to sized buffer. More...
 
int sscanf (const char *buf, const char *fmt,...)
 Reads data from buf and stores them according to parameter fmt into the locations given by the additional arguments. More...
 
int asprintf (char **strp, const char *fmt,...)
 print to allocated string. More...
 
int vasprintf (char **strp, const char *fmt, va_list args)
 print to allocated string. More...
 
int vasprintf_s (char **strp, const char *fmt, va_list args)
 Print to allocated string in secure mode. More...
 
int putchar (int ch)
 writes a character to log. More...
 
int puts (const char *s)
 writes the string s and a trailing newline to log(dmesg). More...
 
int vsscanf (const char *buffer, const char *fmt, va_list args)
 vsscanf unformat a buffer into a list of arguments. More...
 

Variables

FILE * stdin
 Standard input stream (stub). More...
 
FILE * stdout
 Standard output stream.
 
FILE * stderr
 Standard error stream.
 

Detailed Description

Standard I/O.