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 randomly
16       swapping characters in the string.  The result is an anagram of string.
17

RETURN VALUE

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

ATTRIBUTES

22       For  an  explanation  of  the  terms  used   in   this   section,   see
23       attributes(7).
24
25       ┌──────────┬───────────────┬─────────┐
26Interface Attribute     Value   
27       ├──────────┼───────────────┼─────────┤
28strfry()  │ Thread safety │ MT-Safe │
29       └──────────┴───────────────┴─────────┘

CONFORMING TO

31       The strfry() function is unique to the GNU C Library.
32

SEE ALSO

34       memfrob(3), string(3)
35

COLOPHON

37       This  page  is  part of release 5.04 of the Linux man-pages project.  A
38       description of the project, information about reporting bugs,  and  the
39       latest     version     of     this    page,    can    be    found    at
40       https://www.kernel.org/doc/man-pages/.
41
42
43
44GNU                               2019-03-06                         STRFRY(3)
Impressum