Unescapes a segment of an escaped string.
If any of the characters in illegal_characters
or the character zero appears as an escaped character in escaped_string
then that is an error and null will be returned. This is useful it you want to avoid
for instance having a slash being expanded in an escaped path element, which might confuse pathname handling.
escaped_string |
A string, may be null |
escaped_string_end |
Pointer to end of |
illegal_characters |
An optional string of illegal characters not to be allowed, may be null |
an unescaped version of |