偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

strxfrm 中文man頁面

系統(tǒng)
strxfrm() 函數(shù) 把 字符串 src 轉換 成 另外 一種 形式. 用 strcmp() 來比較 兩個 轉換后的 字符串 與 用 strcoll() 來比較 它們轉換前的 字符串 的 返回值 是 一樣的. 轉換后的 字符串的 前 n 個 字符會存放于 dest 中. 它是 根據(jù) 程序 當前的 區(qū)域選項 中的 LC_COLLATE 來 轉換的. (見 setlocale(3)).

NAME

strxfrm - 轉換字符串

總覽 (SYNOPSIS)

#include <string.h>

size_t strxfrm(char *dest, const char *src, size_t n);

描述 (DESCRIPTION)

strxfrm() 函數(shù) 把 字符串 src 轉換 成 另外 一種 形式. 用 strcmp() 來比較 兩個 轉換后的 字符串 與 用 strcoll() 來比較 它們轉換前的 字符串 的 返回值 是 一樣的. 轉換后的 字符串的 前 n 個 字符會存放于 dest 中. 它是 根據(jù) 程序 當前的 區(qū)域選項 中的 LC_COLLATE 來 轉換的. (見 setlocale(3)).

返回值 (RETURN VALUE)

strxfrm() 函數(shù) 返回 除去 結尾的 `\0' 字符, 用來 存儲 轉換后的 字符串所 需要的 字節(jié)數(shù). 如果 返回值 大于 或 等于 n, dest 中的 內(nèi)容就是 不確定的.

遵循 (CONFORMING TO)

SVID 3, BSD 4.3, ISO 9899

注意 (NOTES)

如果 區(qū)域選項 是 "POSIX" 或者 "C", 那么 strxfrm() 同用 strncpy() 來 拷貝 字符串 是等價的.

參見 (SEE ALSO)

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

#p#

NAME

strxfrm - string transformation  

SYNOPSIS

#include <string.h>

size_t strxfrm(char *dest, const char *src, size_t n);

DESCRIPTION

The strxfrm() function transforms the src string into a form such that the result of strcmp() on two strings that have been transformed with strxfrm() is the same as the result of strcoll() on the two strings before their transformation. The first n characters of the transformed string are placed in dest. The transformation is based on the program's current locale for category LC_COLLATE. (See setlocale(3)).  

RETURN VALUE

The strxfrm() function returns the number of bytes required to store the transformed string in dest excluding the terminating `\0' character. If the value returned is n or more, the contents of dest are indeterminate.  

CONFORMING TO

SVID 3, BSD 4.3, ISO 9899  

NOTES

In the "POSIX" or "C" locales strxfrm() is equivalent to copying the string with strncpy().  

SEE ALSO

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

責任編輯:韓亞珊 來源: CMPP.net
相關推薦

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-11 15:03:21

ACCESS中文man

2011-08-11 15:28:43

ali中文man

2011-08-11 16:31:49

biff中文man

2011-08-11 17:16:43

cce中文man

2011-08-11 18:05:04

chvt中文man

2011-08-11 18:13:07

clear中文man

2011-08-12 09:13:02

df中文man

2011-08-12 09:38:06

dircolors中文man

2011-08-12 09:44:37

dirname中文man

2011-08-12 10:20:02

echo中文man

2011-08-12 10:25:55

eject中文man

2011-08-12 11:07:19

git中文man

2011-08-12 13:18:19

head中文man

2011-08-12 13:49:23

hostid中文man

2011-08-12 13:54:46

hostname中文man

2011-08-12 14:53:56

kill中文man
點贊
收藏

51CTO技術棧公眾號