1STRFRY(3) Linux Programmer's Manual STRFRY(3)
2
3
4
6 strfry - randomize a string
7
9 #define _GNU_SOURCE
10 #include <string.h>
11
12 char *strfry(char *string);
13
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
20 The strfry() functions returns a pointer to the randomized string.
21
23 The strfry() function is unique to the GNU C Library.
24
26 memfrob(3), feature_test_macros(7)
27
29 This page is part of release 3.22 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 1993-04-12 STRFRY(3)