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. |
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:
char [] smjg.libs.util.commandline.buildCommandLine | ( | string[] | args | ) |
Builds a command line string from an array of arguments.
args | array of arguments in application form. |
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.
s | a pointer to a null-terminated UTF-16 string. |