argvOptions

[ XITE Reference Manual | XITE home ]

Name

argvOptions - Concatenate all the command-line options and arguments in one string.

Syntax

 #include <xite/readarg.h>

 char *argvOptions( int argc, char** argv );

Description

Return a string consisting of all the options in the argv string array, i. e. all the string elements argv[i], 0 < i < argc, separated by spaces. May typically be used as the third argument of the Ihistory(5) routine.

See also

Ihistory(5)

Return value

Pointer to the string, or NULL if argc == 1.

Author

Svein Bøe, Ifi, UiO

Id

$Id: readswitch.c,v 1.27 1996/06/04 14:56:33 svein Exp $