OS_SetArgumentBuffer

Syntax

#include <nitro/os.h>
void OS_SetArgumentBuffer( const char* buffer );
 

Arguments

buffer Pointer to the argument buffer to be set.

Return Values

None.

Description

Sets the argument buffer used by functions such as OS_GetArgc, OS_GetArgv, and OS_GetOpt.

Although by default the argument buffer region held in the system is used (argument data can be embedded here using the buryarg or buryarg.TWL tool), you can use this function to change the region.

Use OS_ConvertToArguments to easily convert a string into argument data.

Does nothing in FINALROM builds.

See Also

OS_GetArgv
OS_GetArgc
OS_GetOpt
buryarg Tool
buryarg.TWL Tool
OS_GetArgumentBuffer
OS_ConvertToArguments

Revision History

2008/07/09 Added information on buryarg.TWL.
2005/09/09 Initial version.


CONFIDENTIAL