|
int | sceKernelStdin () |
|
int | sceKernelStdout () |
|
int | sceKernelStderr () |
|
int | sceKernelStdoutReopen (const char *file, int flags, SceMode mode) |
|
int | sceKernelStderrReopen (const char *file, int flags, SceMode mode) |
|
int | sceKernelStdoutReset () |
|
int | sceKernelStderrReset () |
|
int | fdprintf (int fd, const char *fmt,...) |
|
int | printf (const char *fmt,...) |
|
int | fdputc (int c, int fd) |
|
int | fdgetc (int fd) |
|
char * | fdgets (char *s, int fd) |
|
int | putchar (int c) |
|
int | fdputs (const char *s, int fd) |
|
int | puts (const char *s) |
|
int | getchar (void) |
|
char * | gets (char *s) |
|
int | sceKernelStdioRead () |
|
int | sceKernelStdioLseek () |
|
void | sceKernelStdioSendChar () |
|
int | sceKernelStdioWrite () |
|
int | sceKernelStdioClose () |
|
int | sceKernelStdioOpen () |
|
int | sceKernelRegisterStdoutPipe (SceUID id) |
|
int | sceKernelRegisterStderrPipe (SceUID id) |
|
- Author
- artart78
- Version
- 6.60
The StdioForUser/Kernel libraries
◆ sceKernelStdin()
Get the stdin file descriptor.
- Returns
- The stdin file descriptor.
◆ sceKernelStdout()
Get the stdout file descriptor.
- Returns
- The stdout file descriptor.
◆ sceKernelStderr()
Get the stderr file descriptor.
- Returns
- The stderr file descriptor.
◆ sceKernelStdoutReopen()
int sceKernelStdoutReopen |
( |
const char * |
file, |
|
|
int |
flags, |
|
|
SceMode |
mode |
|
) |
| |
Reopen stdout as a different file.
- Parameters
-
file | The file name. |
flags | The flags passed to sceIoReopen. |
mode | The mode passed to sceIoReopen. |
- Returns
- 0 on success, less than 0 otherwise.
◆ sceKernelStderrReopen()
int sceKernelStderrReopen |
( |
const char * |
file, |
|
|
int |
flags, |
|
|
SceMode |
mode |
|
) |
| |
Reopen stderr as a different file.
- Parameters
-
file | The file name. |
flags | The flags passed to sceIoReopen. |
mode | The mode passed to sceIoReopen. |
- Returns
- 0 on success, less than 0 otherwise.
◆ sceKernelStdoutReset()
int sceKernelStdoutReset |
( |
| ) |
|
Reset the stdout fd.
- Returns
- 0 on success, less than 0 otherwise.
◆ sceKernelStderrReset()
int sceKernelStderrReset |
( |
| ) |
|
Reset the stderr fd.
- Returns
- 0 on success, less than 0 otherwise.
◆ fdprintf()
int fdprintf |
( |
int |
fd, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
Print a formatted string into an opened file.
- Parameters
-
fd | The file descriptor. |
fmt | The string format. |
- Returns
- The number of characters printed on success, less than 0 otherwise.
◆ printf()
int printf |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
Print a formatted string to stdout.
- Parameters
-
- Returns
- The number of characters printed on success, less than 0 otherwise.
◆ fdputc()
int fdputc |
( |
int |
c, |
|
|
int |
fd |
|
) |
| |
Output a character to an opened file.
- Parameters
-
c | The character to output. |
fd | The file descriptor. |
- Returns
- The printed character.
◆ fdgetc()
Get the next character (after the file position indicator) from an opened file.
- Parameters
-
- Returns
- The read character on success, -1 otherwise.
◆ fdgets()
char * fdgets |
( |
char * |
s, |
|
|
int |
fd |
|
) |
| |
Get the next line from an opened file.
- Parameters
-
s | The string buffer. |
fd | The file descriptor. |
- Returns
- The string on success, NULL otherwise.
◆ putchar()
Output a character to stdout.
- Parameters
-
c | The character to output. |
- Returns
- The printed character.
◆ fdputs()
int fdputs |
( |
const char * |
s, |
|
|
int |
fd |
|
) |
| |
Output a string to an opened file.
- Parameters
-
s | The string to output. |
fd | The file descriptor. |
- Returns
- 0.
◆ puts()
int puts |
( |
const char * |
s | ) |
|
Output a string to stdout.
- Parameters
-
- Returns
- 0.
◆ getchar()
Get the next character from stdin.
- Returns
- The read character on success, -1 otherwise.
◆ gets()
Get the next line from stdin.
- Parameters
-
- Returns
- The string on success, NULL otherwise.
◆ sceKernelStdioRead()
int sceKernelStdioRead |
( |
| ) |
|
Useless. Do not use.
- Returns
- Less than zero.
◆ sceKernelStdioLseek()
int sceKernelStdioLseek |
( |
| ) |
|
Useless. Do not use.
- Returns
- Less than zero.
◆ sceKernelStdioSendChar()
void sceKernelStdioSendChar |
( |
| ) |
|
◆ sceKernelStdioWrite()
int sceKernelStdioWrite |
( |
| ) |
|
Useless. Do not use.
- Returns
- Less than zero.
◆ sceKernelStdioClose()
int sceKernelStdioClose |
( |
| ) |
|
Useless. Do not use.
- Returns
- Less than zero.
◆ sceKernelStdioOpen()
int sceKernelStdioOpen |
( |
| ) |
|
Useless. Do not use.
- Returns
- Less than zero.
◆ sceKernelRegisterStdoutPipe()
int sceKernelRegisterStdoutPipe |
( |
SceUID |
id | ) |
|
Register a stdout pipe.
- Parameters
-
- Returns
- 0 on success, less than 0 otherwise.
◆ sceKernelRegisterStderrPipe()
int sceKernelRegisterStderrPipe |
( |
SceUID |
id | ) |
|
Register a stderr pipe.
- Parameters
-
- Returns
- 0 on success, less than 0 otherwise.