2 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
6 .\" References consulted:
7 .\" Linux libc source code
8 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
10 .\" Modified Sun Jul 25 10:39:43 1993 by Rik Faith (faith@cs.unc.edu)
11 .TH strfry 3 (date) "Linux man-pages (unreleased)"
13 strfry \- randomize a string
16 .RI ( libc ", " \-lc )
19 .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
20 .B #include <string.h>
22 .BI "char *strfry(char *" string );
27 function randomizes the contents of
29 by randomly swapping characters in the string.
30 The result is an anagram of
35 functions returns a pointer to the randomized
38 For an explanation of the terms used in this section, see
46 Interface Attribute Value
49 T} Thread safety MT-Safe