PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
stdio.h File Reference
#include <stdarg.h>
#include <irx.h>
+ Include dependency graph for stdio.h:

Go to the source code of this file.

Macros

#define stdio_IMPORTS_start   DECLARE_IMPORT_TABLE(stdio, 1, 2)
 
#define stdio_IMPORTS_end   END_IMPORT_TABLE
 
#define I_printf   DECLARE_IMPORT(4, printf)
 
#define I_getchar   DECLARE_IMPORT(5, getchar)
 
#define I_putchar   DECLARE_IMPORT(6, putchar)
 
#define I_puts   DECLARE_IMPORT(7, puts)
 
#define I_gets   DECLARE_IMPORT(8, gets)
 
#define I_fdprintf   DECLARE_IMPORT(9, fdprintf)
 
#define I_fdgetc   DECLARE_IMPORT(10, fdgetc)
 
#define I_fdputc   DECLARE_IMPORT(11, fdputc)
 
#define I_fdputs   DECLARE_IMPORT(12, fdputs)
 
#define I_fdgets   DECLARE_IMPORT(13, fdgets)
 
#define I_vfdprintf   DECLARE_IMPORT(14, vfdprintf)
 

Functions

int printf (const char *format,...)
 
int getchar (void)
 
int putchar (int c)
 
int puts (const char *s)
 
char * gets (char *s)
 
int fdprintf (int fd, const char *format,...)
 
int fdgetc (int fd)
 
int fdputc (int c, int fd)
 
int fdputs (const char *s, int fd)
 
char * fdgets (char *buf, int fd)
 
int vfdprintf (int fd, const char *format, va_list ap)
 

Detailed Description

Standard C Library I/O.

Definition in file stdio.h.

Macro Definition Documentation

◆ stdio_IMPORTS_start

#define stdio_IMPORTS_start   DECLARE_IMPORT_TABLE(stdio, 1, 2)

Definition at line 38 of file stdio.h.

◆ stdio_IMPORTS_end

#define stdio_IMPORTS_end   END_IMPORT_TABLE

Definition at line 39 of file stdio.h.

◆ I_printf

#define I_printf   DECLARE_IMPORT(4, printf)

Definition at line 41 of file stdio.h.

◆ I_getchar

#define I_getchar   DECLARE_IMPORT(5, getchar)

Definition at line 42 of file stdio.h.

◆ I_putchar

#define I_putchar   DECLARE_IMPORT(6, putchar)

Definition at line 43 of file stdio.h.

◆ I_puts

#define I_puts   DECLARE_IMPORT(7, puts)

Definition at line 44 of file stdio.h.

◆ I_gets

#define I_gets   DECLARE_IMPORT(8, gets)

Definition at line 45 of file stdio.h.

◆ I_fdprintf

#define I_fdprintf   DECLARE_IMPORT(9, fdprintf)

Definition at line 46 of file stdio.h.

◆ I_fdgetc

#define I_fdgetc   DECLARE_IMPORT(10, fdgetc)

Definition at line 47 of file stdio.h.

◆ I_fdputc

#define I_fdputc   DECLARE_IMPORT(11, fdputc)

Definition at line 48 of file stdio.h.

◆ I_fdputs

#define I_fdputs   DECLARE_IMPORT(12, fdputs)

Definition at line 49 of file stdio.h.

◆ I_fdgets

#define I_fdgets   DECLARE_IMPORT(13, fdgets)

Definition at line 50 of file stdio.h.

◆ I_vfdprintf

#define I_vfdprintf   DECLARE_IMPORT(14, vfdprintf)

Definition at line 51 of file stdio.h.

Function Documentation

◆ printf()

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

Definition at line 91 of file stdio.c.

◆ getchar()

int getchar ( void  )

Definition at line 160 of file stdio.c.

◆ putchar()

int putchar ( int  c)

Definition at line 127 of file stdio.c.

◆ puts()

int puts ( const char *  s)

Definition at line 147 of file stdio.c.

◆ gets()

char * gets ( char *  s)

Definition at line 276 of file stdio.c.

◆ fdprintf()

int fdprintf ( int  fd,
const char *  format,
  ... 
)

Definition at line 68 of file stdio.c.

◆ fdgetc()

int fdgetc ( int  fd)

Definition at line 152 of file stdio.c.

◆ fdputc()

int fdputc ( int  c,
int  fd 
)

Definition at line 107 of file stdio.c.

◆ fdputs()

int fdputs ( const char *  s,
int  fd 
)

Definition at line 132 of file stdio.c.

◆ fdgets()

char * fdgets ( char *  buf,
int  fd 
)

Definition at line 165 of file stdio.c.

◆ vfdprintf()

int vfdprintf ( int  fd,
const char *  format,
va_list  ap 
)

Definition at line 82 of file stdio.c.