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

NAME

6       strfry - randomize a string
7

SYNOPSIS

9       #define _GNU_SOURCE
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), feature_test_macros(7)
27
28
29
30GNU                               1993-04-12                         STRFRY(3)
Impressum