MOS Source Code
Loading...
Searching...
No Matches
mos_stdio.h File Reference
#include <mos/mos_global.h>
#include <mos/moslib_global.h>
#include <stdarg.h>
#include <stddef.h>
+ Include dependency graph for mos_stdio.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define stdin   stdin
 
#define stdout   stdout
 
#define stderr   stderr
 

Typedefs

typedef struct _FILE FILE
 

Functions

MOSAPI int (2, 3) sprintf(char *__restrict str
 
MOSAPI const char *__restrict MOSAPI int (3, 4) snprintf(char *__restrict str
 
MOSAPI const char *__restrict MOSAPI size_t const char *__restrict MOSAPI int vsprintf (char *__restrict str, const char *__restrict format, va_list ap)
 
MOSAPI int vsnprintf (char *__restrict buf, size_t size, const char *__restrict format, va_list args)
 
MOSAPI int (1, 2) printf(const char *__restrict format
 
MOSAPI MOSAPI const char *__restrict MOSAPI const char *__restrict MOSAPI int vprintf (const char *__restrict format, va_list ap)
 
MOSAPI int vfprintf (FILE *__restrict file, const char *__restrict format, va_list ap)
 
MOSAPI int vdprintf (int fd, const char *__restrict format, va_list ap)
 
MOSAPI int getchar (void)
 
MOSAPI int putchar (int c)
 
MOSAPI int puts (const char *s)
 
MOSAPI int fputs (const char *__restrict s, FILE *__restrict file)
 
MOSAPI int fputc (int c, FILE *file)
 
MOSAPI int fgetc (FILE *file)
 
size_t fread (void *__restrict ptr, size_t size, size_t nmemb, FILE *__restrict stream)
 
size_t fwrite (const void *__restrict ptr, size_t size, size_t nmemb, FILE *__restrict stream)
 
int fseek (FILE *stream, long offset, io_seek_whence_t whence)
 
off_t ftell (FILE *stream)
 
FILEfopen (const char *path, const char *mode)
 
int fclose (FILE *stream)
 

Variables

MOSAPI const char *__restrict format
 
MOSAPI const char *__restrict MOSAPI size_t size
 
MOSAPI FILEstdin
 
MOSAPI FILEstdout
 
MOSAPI FILEstderr