Go to the source code of this file.
|
wchar_t * | escape_for_batch (const wchar_t *input, size_t n_chars) |
| Escapes a string for a batch file.
|
|
◆ escape_for_batch()
wchar_t * escape_for_batch |
( |
const wchar_t * | input, |
|
|
size_t | n_chars ) |
Escapes a string for a batch file.
- Parameters
-
input | Input string. |
n_chars | Length of the input string in word size. |
- Returns
- Pointer to escaped string. Must be freed on caller side.
Definition at line 4 of file shell.c.