Tizen RT Libs&Environment  v1.0 D5
stdio.h File Reference

Standard Input / Output APIs. More...

#include <tinyara/config.h>
#include <sys/types.h>
#include <stdarg.h>
#include <sched.h>
#include <semaphore.h>
#include <time.h>
#include <tinyara/fs/fs.h>
Include dependency graph for stdio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FILENAME_MAX   _POSIX_NAME_MAX
 
#define EOF   (-1)
 
#define stdin   (&sched_getstreams()->sl_streams[0])
 
#define stdout   (&sched_getstreams()->sl_streams[1])
 
#define stderr   (&sched_getstreams()->sl_streams[2])
 
#define putc(c, s)   fputc((c), (s))
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
#define putchar(c)   fputc(c, stdout)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
#define getc(s)   fgetc(s)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
#define getchar()   fgetc(stdin)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
#define CONFIG_LIBC_TMPDIR   "/tmp"
 
#define P_tmpdir   CONFIG_LIBC_TMPDIR
 
#define CONFIG_LIBC_MAX_TMPFILE   32
 
#define L_tmpnam   CONFIG_LIBC_MAX_TMPFILE
 
#define TMP_MAX   56800235584ull
 
#define EXTERN   extern
 

Typedefs

typedef struct file_struct FILE
 

Functions

int fclose (FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int fflush (FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int feof (FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int ferror (FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int fileno (FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int fgetc (FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int fgetpos (FAR FILE *stream, FAR fpos_t *pos)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
char * fgets (FAR char *s, int n, FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
FAR FILEfopen (FAR const char *path, FAR const char *type)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int fprintf (FAR FILE *stream, FAR const char *format,...)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int fputc (int c, FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int fputs (FAR const char *s, FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
size_t fread (FAR void *ptr, size_t size, size_t n_items, FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int fseek (FAR FILE *stream, long int offset, int whence)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int fsetpos (FAR FILE *stream, FAR fpos_t *pos)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
long ftell (FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
size_t fwrite (FAR const void *ptr, size_t size, size_t n_items, FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
FAR char * gets (FAR char *s)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
FAR char * gets_s (FAR char *s, rsize_t n)
 reads a line from stdin into the buffer More...
 
int ungetc (int c, FAR FILE *stream)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int printf (FAR const char *format,...)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int puts (FAR const char *s)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int sprintf (FAR char *buf, FAR const char *format,...)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int asprintf (FAR char **ptr, FAR const char *fmt,...)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int snprintf (FAR char *buf, size_t size, FAR const char *format,...)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int sscanf (FAR const char *buf, FAR const char *fmt,...)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
void perror (FAR const char *s)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int vprintf (FAR const char *format, va_list ap)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int vfprintf (FAR FILE *stream, const char *format, va_list ap)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int vsprintf (FAR char *buf, const char *format, va_list ap)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int vsnprintf (FAR char *buf, size_t size, const char *format, va_list ap)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int vsscanf (FAR const char *buf, FAR const char *s, va_list ap)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
FAR FILEfdopen (int fd, FAR const char *type)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 

Detailed Description

Standard Input / Output APIs.

Definition in file stdio.h.