typedef void*(* PM_HandlerFp)(void *) |
TC_API void* PM_get_args | ( | void ** | args | ) |
Gets the first argument from the argument list.
args | (O) |
TC_API int PM_put_args | ( | void * | value, | |
int | size, | |||
void ** | args | |||
) |
Puts the args at the end of the argument list.
value | (I) |
size | (I) |
args | (I) |
TC_API int PM_start_process | ( | const char * | symbol, | |
void ** | input, | |||
PM_HandlerFp | handler, | |||
void * | handler_args, | |||
SS_pid * | pid | |||
) |
Starts the process for a specified symbol with input as arguments to the symbol. The handler is a pointer to a function, with handler_args as arguments, to be called once the process is finished executing. The pid is the process ID of the process.
symbol | (I) |
input | (I) |
handler | (I) |
handler_args | (I) |
pid | (I) |
TC_API void* PM_view_args | ( | int | pos, | |
void * | args | |||
) |
Returns a pointer to an argument in the argument list at a specified position.
pos | (I) |
args | (I) |