This just boggles me:
(Gratuitously cut and pasted from the GNU C Library)
strfry
The function below addresses the perennial programming quandary: “How do
I take good data in string form and painlessly turn it into garbage?”
This is actually a fairly simple task for C programmers who do not use
the GNU C library string functions, but for programs based on the GNU C
library, the strfry
function is the preferred method for
destroying string data.
The prototype for this function is in string.h
.
char * strfry (char *string) |
Function |
The return value of Portability Note: This function is unique to the GNU C library. |
To the GNU C library strfry page
Kudos to Aaron Swartz for pointing this out