Add an argument at the specified position in a NULL terminated
argument vector
Adds the argument to the N-th position. This is useful for adding
options at the beginning of the array which must not come after the
special '--' option.
@param args is the structure containing the current argument list
@param pos is the position at which to add the argument
@param arg is the new argument to add
@return -1 on allocation error, 0 on success
Add an argument at the specified position in a NULL terminated argument vector
Adds the argument to the N-th position. This is useful for adding options at the beginning of the array which must not come after the special '--' option.
@param args is the structure containing the current argument list @param pos is the position at which to add the argument @param arg is the new argument to add @return -1 on allocation error, 0 on success