16,551
社区成员
发帖
与我相关
我的任务
分享
#define PIPE_BUF_SIZE 1024*1024
UCHAR *cpWriteBuf = malloc(PIPE_BUF_SIZE);
cpbyteWrite = 4065;
memcpy(cpWriteBuf,sendMessage->data,cpbyteWrite);
unsigned long size = 4065;
unsigned char *str1 = (unsigned char *)malloc(1024*1024);
unsigned char *str2 = (unsigned char *)malloc(1024*1024);
memcpy(str1,str2,size);