Rechercher une page de manuel
strfry
Langue: ja
Version: 1993-04-12 (fedora - 25/11/07)
Section: 3 (Bibliothèques de fonctions)
名前
strfry - 文字列をランダムに並べ変える書式
#define _GNU_SOURCE
#include <string.h> char *strfry(char *string);
説明
strfry() 関数は、文字列 string の内容をランダムに並び換える。 並び換えは、 rand(3) 関数を用いて、文字列中の各文字を無作為に 交換することで実現される。結果は、文字列 string のアナグラムである。返り値
strfry() 関数は、ランダムに並び換えられた文字列へのポインタを返す。準拠
strfry() 関数は GNU C ライブラリに特有である。関連項目
memfrob(3), feature_test_macros(7)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre