Functions | |
| void | arg_init (void) |
| char * | arg_alloc (char size) |
| Allocates an argument buffer. | |
| void | arg_free (char *arg) |
| Deallocates an argument buffer. | |
The argument buffer is statically allocated in memory and is globally accessible to all processes.
An argument buffer is allocated with the arg_alloc() function and deallocated with the arg_free() function. The arg_free() function is designed so that it can take any pointer, not just an argument buffer pointer. If the pointer to arg_free() is not an argument buffer, the function does nothing.
|
|
Allocates an argument buffer.
|
|
|
Deallocates an argument buffer. This function deallocates the argument buffer pointed to by the parameter, but only if the buffer actually is an argument buffer and is allocated. It is perfectly safe to call this function with any pointer.
|
|
|
For internal use only. Initalizer, called by the dispatcher module. |
1.3.6