Chinaunix首页 | 论坛 | 博客
  • 博客访问: 400372
  • 博文数量: 103
  • 博客积分: 3073
  • 博客等级: 中校
  • 技术积分: 1078
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-23 15:04
文章分类

全部博文(103)

文章存档

2012年(13)

2011年(76)

2010年(14)

分类:

2011-06-08 17:21:27

char * strncpy ( char * destination, const char * source, size_t num );

Parameters

destination
Pointer to the destination array where the content is to be copied.
source
C string to be copied.
num
Maximum number of characters to be copied from source.

Return Value

destination is returned.
int strcmp ( const char * str1, const char * str2 );

Return Value
Returns an integral value indicating the relationship between the strings:
A zero value indicates that both strings are equal.
A value greater than zero indicates that the first character that does not match has a greater value in str1 than in str2; And a value less than zero indicates the opposite.





















阅读(522) | 评论(0) | 转发(0) |
0

上一篇:sftp

下一篇:c 语言算符优先级

给主人留下些什么吧!~~