赞
踩
str
C string.
character
Character to be located.
If the character is not found, the function returns a null pointer.
destination
Pointer to the destination array where the content is to be copied.
source
C string to be copied.
destination
Pointer to the destination array, which should contain a C string, and be large enough to contain the concatenated resulting string.
source
C string to be appended. This should not overlap destination.
str1
C string to be compared.
str2
C string to be compared.
return value
|
indicates
|
<0
|
the first character that does not match has a lower value in
ptr1 than in
ptr2
|
0
|
the contents of both strings are equal
|
>0
|
the first character that does not match has a greater value in
ptr1 than in
ptr2
|
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。