psl1ght
A free SDK for Sony's PS3 console
|
Process management. More...
#include <ppu-types.h>
Go to the source code of this file.
Functions | |
void | sysProcessExit (int status) __attribute__((noreturn)) |
Terminate the running process. More... | |
void | sysProcessExitSpawn2 (const char *path, const char *argv[], const char *envp[], void *data, size_t size, int priority, u64 flags) |
Terminate the running process and execute another program. More... | |
Process management.
void sysProcessExit | ( | int | status | ) |
Terminate the running process.
This function does not return.
status | Process return status. |
void sysProcessExitSpawn2 | ( | const char * | path, |
const char * | argv[], | ||
const char * | envp[], | ||
void * | data, | ||
size_t | size, | ||
int | priority, | ||
u64 | flags | ||
) |
Terminate the running process and execute another program.
This function returns only in case of error.
path | Path and name of new program to be executed. |
argv | Commandline arguments for the new program. |
envp | Environment variables for the new program (may be NULL ). |
data | Additional data (may be NULL ). |
size | Size of additional data. |
priority | Priority. |
flags | Process flags. It contains an OR'ed combination of the following values: |