tail head cat sleep
QR code linking to this page

manページ  — STRCOLL

名称

strcoll – 現在の照合に従って文字列を比較

内容

ライブラリ

Standard C Library (libc, -lc)

書式

#include <string.h>

int
strcoll(const char *s1, const char *s2);

解説

strcoll() 関数は、ヌル文字で終了する文字列 s1 と s2 を現在ロケールにおいて照合とするものがあれば、 それに従って辞書式順序で比較し、ない場合には strcmp を呼び出して、 s1 が s2 よりも大きいか、等しいか、小さいかによってそれぞれ、 0 よりも大きい、または等しい、または小さい整数を返します。

関連項目

setlocale(3), strcmp(3), strxfrm(3)

規格

strcoll() 関数は、 ISO/IEC 9899:1990 ("ISO C90") に適合しています。

STRCOLL (3) June 4, 1993

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

“ "I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act." ”
— Ken Pier, Xerox PARC