strfry

Section: C Library Functions (3)
Updated: 2026-02-08
Index JM Home Page roff page
 

名前

strfry - 文字列をランダムに並べ変える  

ライブラリ

標準 C ライブラリ (libc,~-lc)  

書式

#define _GNU_SOURCE         /* feature_test_macros(7) 参照 */
#include <string.h>

char *strfry(char *string);
 

説明

strfry() 関数は、文字列中の文字を無作為に入れ替えて、文字列 string の内容をランダム化する。結果は、文字列 string のアナグラムとなる。  

返り値

strfry() 関数は、ランダムに並び換えられた文字列へのポインターを返す。  

属性

この節で使用されている用語の説明については、 attributes(7) を参照。
インターフェース属性値
strfry() Thread safetyMT-Safe
 

標準規格

GNU.  

関連項目

memfrob(3), string(3)


 

Index

名前
ライブラリ
書式
説明
返り値
属性
標準規格
関連項目

This document was created by man2html, using the manual pages.