1strfry(3)                  Library Functions Manual                  strfry(3)
2
3
4

NAME

6       strfry - randomize a string
7

LIBRARY

9       Standard C library (libc, -lc)
10

SYNOPSIS

12       #define _GNU_SOURCE         /* See feature_test_macros(7) */
13       #include <string.h>
14
15       char *strfry(char *string);
16

DESCRIPTION

18       The  strfry()  function  randomizes  the contents of string by randomly
19       swapping characters in the string.  The result is an anagram of string.
20

RETURN VALUE

22       The strfry() functions returns a pointer to the randomized string.
23

ATTRIBUTES

25       For an  explanation  of  the  terms  used  in  this  section,  see  at‐
26       tributes(7).
27
28       ┌────────────────────────────────────────────┬───────────────┬─────────┐
29Interface                                   Attribute     Value   
30       ├────────────────────────────────────────────┼───────────────┼─────────┤
31strfry()                                    │ Thread safety │ MT-Safe │
32       └────────────────────────────────────────────┴───────────────┴─────────┘
33

STANDARDS

35       GNU.
36

SEE ALSO

38       memfrob(3), string(3)
39
40
41
42Linux man-pages 6.05              2023-07-20                         strfry(3)
Impressum