diff options
| author | John Wilbert M. Villamor <lameguy64@gmail.com> | 2019-06-23 07:42:16 +0800 |
|---|---|---|
| committer | John Wilbert M. Villamor <lameguy64@gmail.com> | 2019-06-23 07:42:16 +0800 |
| commit | 7be9178c0f9b0e698a305ecc5c0c41fcc596a4fc (patch) | |
| tree | e98c627e1da5c764563774b89b0c06d7ac5ad0a4 /libpsn00b/include/stdio.h | |
| parent | ae9e545c3ed33d39ce21ae13ceb8337fa34901b8 (diff) | |
| download | psn00bsdk-7be9178c0f9b0e698a305ecc5c0c41fcc596a4fc.tar.gz | |
LibPSn00b officially v0.10b, added psxsio library, better DrawSync() and VSync(), better reference manual.
Diffstat (limited to 'libpsn00b/include/stdio.h')
| -rw-r--r-- | libpsn00b/include/stdio.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libpsn00b/include/stdio.h b/libpsn00b/include/stdio.h index 5ee9e9b..98c69d0 100644 --- a/libpsn00b/include/stdio.h +++ b/libpsn00b/include/stdio.h @@ -4,7 +4,7 @@ #include <stdarg.h> #ifndef NULL -#define NULL (void*)0 +#define NULL 0 #endif // BIOS seek modes @@ -32,6 +32,14 @@ extern void printf (const char *__format, ...); extern int getc(int __fd); extern int putc(int __char, int __fd); + +#define fputc(__char, __fd) putc(__char, __fd) +#define fgetc(__char, __fd) getc(__char, __fd) + +// Console TTY +extern void gets(char *__s); +extern void puts(const char *__s); +extern int getchar(void); extern void putchar(int __c); // The following functions do not use the BIOS |
