1STRFRY(3)                  Linux Programmer's Manual                 STRFRY(3)
2
3
4

NAME

6       strfry - randomize a string
7

SYNOPSIS

9       #define _GNU_SOURCE         /* See feature_test_macros(7) */
10       #include <string.h>
11
12       char *strfry(char *string);
13

DESCRIPTION

15       The  strfry()  function  randomizes  the  contents  of  string by using
16       rand(3) to randomly swap characters in the string.  The  result  is  an
17       anagram of string.
18

RETURN VALUE

20       The strfry() functions returns a pointer to the randomized string.
21

CONFORMING TO

23       The strfry() function is unique to the GNU C Library.
24

SEE ALSO

26       memfrob(3), string(3)
27

COLOPHON

29       This  page  is  part of release 3.53 of the Linux man-pages project.  A
30       description of the project, and information about reporting  bugs,  can
31       be found at http://www.kernel.org/doc/man-pages/.
32
33
34
35GNU                               2010-09-20                         STRFRY(3)
Impressum