Wait, the introduction to that page is misleading. They say "turn it into garbage" and "destroying string data", except it's not garbage, it's just an anagram... it just randomly swaps the characters around inside the string. Now, that in itself is not useless, but the comments on the function are really really misleading. From the description, I was expecting the contents of the string to be entirely replaced by psuedorandom data.
Well, I also thought maybe I was getting rusty by not knowing it -- but then I read the bit that said it's specific to the GNU C library. I'm comfortable that my C knowledge ain't that rusty now :)
Comments
Should be renamed strscramble.
Add a comment: