Command Prompt for Windows




args, _wargs, _targs

char *args(void);
wchar_t *_wargs(void);
TCHAR *_targs(void);

Retrieve the command line switches.

Returns

Address of a NULL terminated string containing all the switches.

Comments

Switches are stored in a static buffer and is over-written each time this function is called.

The string returned can be empty, when there are no command line switches.

See Also

argc, argv, argn