Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
stdio.h File Reference
#include <toolchain.h>
#include <stdarg.h>
#include <bits/restrict.h>
#include <stddef.h>

Go to the source code of this file.

Macros

#define EOF   (-1)
 
#define stdin   ((FILE *) 1)
 
#define stdout   ((FILE *) 2)
 
#define stderr   ((FILE *) 3)
 

Typedefs

typedef int FILE
 

Functions

int printf (const char *_MLIBC_RESTRICT format,...)
 
int snprintf (char *_MLIBC_RESTRICT str, size_t len, const char *_MLIBC_RESTRICT format,...)
 
int sprintf (char *_MLIBC_RESTRICT str, const char *_MLIBC_RESTRICT format,...)
 
int fprintf (FILE *_MLIBC_RESTRICT stream, const char *_MLIBC_RESTRICT format,...)
 
int vprintf (const char *_MLIBC_RESTRICT format, va_list list)
 
int vsnprintf (char *_MLIBC_RESTRICT str, size_t len, const char *_MLIBC_RESTRICT format, va_list list)
 
int vsprintf (char *_MLIBC_RESTRICT str, const char *_MLIBC_RESTRICT format, va_list list)
 
int vfprintf (FILE *_MLIBC_RESTRICT stream, const char *_MLIBC_RESTRICT format, va_list ap)
 
int puts (const char *s)
 
int fputc (int c, FILE *stream)
 
int fputs (const char *_MLIBC_RESTRICT s, FILE *_MLIBC_RESTRICT stream)
 
size_t fwrite (const void *_MLIBC_RESTRICT ptr, size_t size, size_t nitems, FILE *_MLIBC_RESTRICT stream)
 
static int putc (int c, FILE *stream)
 
static int putchar (int c)
 

Macro Definition Documentation

◆ EOF

#define EOF   (-1)

◆ stderr

#define stderr   ((FILE *) 3)

◆ stdin

#define stdin   ((FILE *) 1)

◆ stdout

#define stdout   ((FILE *) 2)

Typedef Documentation

◆ FILE

typedef int FILE

Function Documentation

◆ fprintf()

int fprintf ( FILE *_MLIBC_RESTRICT  stream,
const char *_MLIBC_RESTRICT  format,
  ... 
)

◆ fputc()

int fputc ( int  c,
FILE stream 
)

◆ fputs()

int fputs ( const char *_MLIBC_RESTRICT  s,
FILE *_MLIBC_RESTRICT  stream 
)

◆ fwrite()

size_t fwrite ( const void *_MLIBC_RESTRICT  ptr,
size_t  size,
size_t  nitems,
FILE *_MLIBC_RESTRICT  stream 
)

◆ printf()

int printf ( const char *_MLIBC_RESTRICT  format,
  ... 
)

◆ putc()

static int putc ( int  c,
FILE stream 
)
inlinestatic

◆ putchar()

static int putchar ( int  c)
inlinestatic

◆ puts()

int puts ( const char *  s)

◆ snprintf()

int snprintf ( char *_MLIBC_RESTRICT  str,
size_t  len,
const char *_MLIBC_RESTRICT  format,
  ... 
)

◆ sprintf()

int sprintf ( char *_MLIBC_RESTRICT  str,
const char *_MLIBC_RESTRICT  format,
  ... 
)

◆ vfprintf()

int vfprintf ( FILE *_MLIBC_RESTRICT  stream,
const char *_MLIBC_RESTRICT  format,
va_list  ap 
)

◆ vprintf()

int vprintf ( const char *_MLIBC_RESTRICT  format,
va_list  list 
)

◆ vsnprintf()

int vsnprintf ( char *_MLIBC_RESTRICT  str,
size_t  len,
const char *_MLIBC_RESTRICT  format,
va_list  list 
)

◆ vsprintf()

int vsprintf ( char *_MLIBC_RESTRICT  str,
const char *_MLIBC_RESTRICT  format,
va_list  list 
)