PS2SDK
PS2 Homebrew Libraries
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
int
printf(
const
char
*format, ...);
27
int
getchar(
void
);
28
int
putchar(
int
c);
29
int
puts(
const
char
*s);
30
char
*gets(
char
*s);
31
int
fdprintf(
int
fd,
const
char
*format, ...);
32
int
fdgetc(
int
fd);
33
int
fdputc(
int
c,
int
fd);
34
int
fdputs(
const
char
*s,
int
fd);
35
char
*fdgets(
char
*buf,
int
fd);
36
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
kernel
include
stdio.h
Generated on Thu Nov 14 2024 05:25:27 for PS2SDK by
1.9.8