Index
trap_Argv
Description
Get an argument from a console command.
Prototype
void trap_Argv(
int n,
char *buffer,
int bufferLength
);
Parameters
n : The argument number to return.
buffer : A point to a buffer to fill.
bufferLength : The size of the buffer.
Remarks
This will fill the buffer pointed to by buffer with an argument to a client command where n is the argument to return. 0 is the command itself, 1 is the first argument and so on... Very similiar to char **argv in a C program.
Return value
This function has no return value.
See also
Author(s)