PSPSDK 2024-10-31
Loading...
Searching...
No Matches
Driver interface to Stdio

This module contains the imports for the kernel's stdio routines. More...

Functions

int sceKernelStdoutReopen (const char *file, int flags, SceMode mode)
 Function reopen the stdout file handle to a new file.
 
int sceKernelStderrReopen (const char *file, int flags, SceMode mode)
 Function reopen the stderr file handle to a new file.
 
int fdprintf (int fd, const char *format,...)
 fprintf but for file descriptors
 

Detailed Description

This module contains the imports for the kernel's stdio routines.

Function Documentation

◆ fdprintf()

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

fprintf but for file descriptors

Parameters
fd- file descriptor from sceIoOpen
format- format string
...- variables
Returns
number of characters printed, <0 on error

◆ sceKernelStderrReopen()

int sceKernelStderrReopen ( const char file,
int  flags,
SceMode  mode 
)

Function reopen the stderr file handle to a new file.

Parameters
file- The file to open.
flags- The open flags
mode- The file mode
Returns
< 0 on error.

◆ sceKernelStdoutReopen()

int sceKernelStdoutReopen ( const char file,
int  flags,
SceMode  mode 
)

Function reopen the stdout file handle to a new file.

Parameters
file- The file to open.
flags- The open flags
mode- The file mode
Returns
< 0 on error.