自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

strcoll 中文man頁面

系統(tǒng)
strcoll() 函數(shù) 是用來 比較 s1 和 s2 兩個 字符串的. 如果 s1 不為空, 它會 返回 一個 小于, 等于 或者 大于 零的 整數(shù) 分別來表示 它 小于, 等于 或者 大于 s2. 它是 根據(jù) 程序 當(dāng)前的 區(qū)域選項 中的 LC_COLLATE 來 比較的. (見 setlocale(3)).

NAME

strcoll - 用當(dāng)前的區(qū)域選項來比較兩個字符串

總覽 (SYNOPSIS)

#include <string.h>

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

描述 (DESCRIPTION)

strcoll() 函數(shù) 是用來 比較 s1s2 兩個 字符串的. 如果 s1 不為空, 它會 返回 一個 小于, 等于 或者 大于 零的 整數(shù) 分別來表示 它 小于, 等于 或者 大于 s2. 它是 根據(jù) 程序 當(dāng)前的 區(qū)域選項 中的 LC_COLLATE 來 比較的. (見 setlocale(3)).

返回值 (RETURN VALUE)

如果 s1 不為空, strcoll() 函數(shù) 會 返回 一個 小于, 等于 或者 大于零的 整數(shù) 分別來 表示 它 小于, 等于 或者 大于 s2. 每個 字符串 都根據(jù)當(dāng)前的 區(qū)域選項 來解釋.

遵循 (CONFORMING TO)

SVID 3, BSD 4.3, ISO 9899

注意 (NOTES)

如果 區(qū)域選項 是 "POSIX" 或者 "C", 那么 strcoll()strcmp() 是等價的.

參見 (SEE ALSO)

bcmp(3), memcmp(3), strcasecmp(3), strcmp(3), strxfrm(3), setlocale(3)

  #p#

NAME

strcoll - compare two strings using the current locale  

SYNOPSIS

#include <string.h>

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

DESCRIPTION

The strcoll() function compares the two strings s1 and s2. It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2. The comparison is based on strings interpreted as appropriate for the program's current locale for category LC_COLLATE. (See setlocale(3)).  

RETURN VALUE

The strcoll() function returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2, when both are interpreted as appropriate for the current locale.  

CONFORMING TO

SVID 3, BSD 4.3, ISO 9899  

NOTES

In the "POSIX" or "C" locales strcoll() is equivalent to strcmp().  

SEE ALSO

bcmp(3), memcmp(3), strcasecmp(3), strcmp(3), strxfrm(3), setlocale(3)

責(zé)任編輯:韓亞珊 來源: CMPP.net
相關(guān)推薦

2011-08-15 10:21:09

man中文man

2011-08-24 16:48:36

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-25 16:44:46

ftrylockfil中文man

2011-08-25 16:06:20

fgetc中文man

2011-08-12 11:07:19

git中文man

2011-08-12 13:05:13

vim中文man

2011-08-12 13:18:19

head中文man

2011-08-12 14:16:52

intro中文man

2011-08-12 14:53:56

kill中文man

2011-08-25 11:36:08

ttytype中文man

2011-08-25 11:44:36

wtmp中文man

2011-08-25 14:03:36

creat中文man

2011-08-25 14:28:33

send中文man

2011-08-25 14:33:48

sendto中文man

2011-08-25 14:46:57

bindtextdom中文man

2011-08-25 13:51:48

accept中文man

2011-08-25 14:53:29

bzero中文man

2011-08-25 14:56:04

cfgetospeed中文man
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號