API char *
LQU_cstring
(theString)
CONST char *theString
Purpose
Converts any C escape sequences in the given string, and returns the result in a freshly malloc'd copy. The escape sequences currently recognised are \a (audible alert), \e (escape), \n (newline), \t (tab), \b (backspace), \r (return), \f (form feed), \\ (backslash), \' (single quote) and \" (double quote). The vertical tab (\v) is converted into a newline. The octal \ddd notation is understood; there can be up to three octal digits after the backslash. If you need to follow an octal escape with an ASCII digit, you should use all three digits, with leading zeros if necessary. The ANSI C \xDD hexadecimal notation is not supported.Returns
A pointer to a freshly allocated buffer; it is the caller's responsibility to free this. If a null pointer was passed as an argument, however, a null pointer is returned.