bcopy函数用法详解
bcopy函数简介
- 头文件包含
#include <strings.h>
- 函数定义
void bcopy(const void * src , void * dest , size_t n );
bcopy函数常见使用错误
- 编译错误
warning: implicit declaration of function ‘bcopy’ [-Wimplicit-function-declaration]
解决办法:包含头文件
#include <strings.h>
bcopy函数详细描述
bcopy ()函数将n字节从src复制到dest 。即使两个区域重叠,结果也是正确的。
bcopy函数返回值
一个都没有。
评论区