Package smjg.libs.util.commandline

Command line conversion. More...


Functions

 debug (commandline)
char[] buildCommandLine (string[] args)
 Builds a command line string from an array of arguments.
char[] wcharzToUTF8 (wchar *s)
 Converts a null-terminated UTF-16 string into a UTF-8 D string.


Detailed Description

Command line conversion.

The smjg.libs.util.commandline module provides functions to construct command lines from argument arrays and vice versa.

These functions involve conversion of arguments between two forms:

Since:
0.02

Function Documentation

char [] smjg.libs.util.commandline.buildCommandLine ( string[]  args  ) 

Builds a command line string from an array of arguments.

Parameters:
args array of arguments in application form.
Returns:
a representation of the arguments that can be entered on the OS command line.
Since:
0.02

smjg.libs.util.commandline.debug ( commandline   ) 

char [] smjg.libs.util.commandline.wcharzToUTF8 ( wchar *  s  ) 

Converts a null-terminated UTF-16 string into a UTF-8 D string.

This is used by the Windows implementation of the command line functions, hence its inclusion here.

Parameters:
s a pointer to a null-terminated UTF-16 string.
Returns:
the string converted into UTF-8.
Since:
0.02


Generated on Sun Sep 13 19:50:35 2009 for Stewart's Utility Library by  doxygen 1.5.4