1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\" References consulted:
6 .\" Linux libc source code
7 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
9 .\" Modified Sun Jul 25 10:39:43 1993 by Rik Faith (faith@cs.unc.edu)
10 .TH STRFRY 3 2021-03-22 "Linux man-pages (unreleased)" "Linux Programmer's Manual"
12 strfry \- randomize a string
15 .RI ( libc ", " \-lc )
18 .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
19 .B #include <string.h>
21 .BI "char *strfry(char *" string );
26 function randomizes the contents of
28 by randomly swapping characters in the string.
29 The result is an anagram of
34 functions returns a pointer to the randomized
37 For an explanation of the terms used in this section, see
45 Interface Attribute Value
48 T} Thread safety MT-Safe
56 function is unique to the