This means that functions from the standard libc (and others) that expect simple, endlessly completed char arrays will work even on those SafeStr s. This is probably achieved by setting the control structure with a negative offset (or some other trick) from the beginning of the line.
Examples: strcmp() printf() , etc. can be used directly in strings returned by SafeStr.
On the contrary, there are other string libraries for C that are very smart and dynamic, but these strings cannot be sent without conversion to the old-school functions.
source share