[Gllug] endian.h

Tethys tet at accucard.com
Mon Feb 10 11:04:52 UTC 2003


Andrew Halliwell writes:

>What the hell does stirfry do?

It does exactly what it says on the tin:

    NAME
           strfry - randomize a string
    
    DESCRIPTION
           The strfry() function randomizes the contents of string by
           using rand(3) to randomly swap characters in  the  string.
           The result is an anagram of string.

Tet


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list