PS2SDK
PS2 Homebrew Libraries
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
c
d
e
f
g
i
l
m
n
p
q
r
s
t
u
v
Variables
_
c
d
f
g
i
k
m
n
p
q
r
s
t
u
v
w
Typedefs
a
d
h
i
l
m
n
p
r
s
t
w
Enumerations
_
a
c
d
g
i
l
m
n
o
p
s
t
v
Enumerator
c
d
e
g
i
n
p
s
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
stdio.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright (c) 2003 Marcus R. Brown <mrbrown@0xd6.org>
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
16
#ifndef __STDIO_H__
17
#define __STDIO_H__
18
19
#include <stdarg.h>
20
#include <
irx.h
>
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
extern
int
printf(
const
char
*format, ...);
27
extern
int
getchar(
void
);
28
extern
int
putchar(
int
c);
29
extern
int
puts(
const
char
*s);
30
extern
char
*gets(
char
*s);
31
extern
int
fdprintf(
int
fd,
const
char
*format, ...);
32
extern
int
fdgetc(
int
fd);
33
extern
int
fdputc(
int
c,
int
fd);
34
extern
int
fdputs(
const
char
*s,
int
fd);
35
extern
char
*fdgets(
char
*buf,
int
fd);
36
extern
int
vfdprintf(
int
fd,
const
char
*format, va_list ap);
37
38
#define stdio_IMPORTS_start DECLARE_IMPORT_TABLE(stdio, 1, 2)
39
#define stdio_IMPORTS_end END_IMPORT_TABLE
40
41
#define I_printf DECLARE_IMPORT(4, printf)
42
#define I_getchar DECLARE_IMPORT(5, getchar)
43
#define I_putchar DECLARE_IMPORT(6, putchar)
44
#define I_puts DECLARE_IMPORT(7, puts)
45
#define I_gets DECLARE_IMPORT(8, gets)
46
#define I_fdprintf DECLARE_IMPORT(9, fdprintf)
47
#define I_fdgetc DECLARE_IMPORT(10, fdgetc)
48
#define I_fdputc DECLARE_IMPORT(11, fdputc)
49
#define I_fdputs DECLARE_IMPORT(12, fdputs)
50
#define I_fdgets DECLARE_IMPORT(13, fdgets)
51
#define I_vfdprintf DECLARE_IMPORT(14, vfdprintf)
52
53
#ifdef __cplusplus
54
}
55
#endif
56
57
#endif
/* __STDIO_H__ */
irx.h
iop
system
stdio
include
stdio.h
Generated on Sun Mar 30 2025 21:53:13 for PS2SDK by
1.12.0