?? tst_memccpy.c
字號(hào):
#include <string.h>
#include <stdio.h> /* for printf */
void tst_memccpy (void) {
static char src1 [100] = "Copy this string to dst1";
static char dst1 [100];
void * c;
c = memccpy (dst1, src1, 'g', sizeof (dst1));
if (c == NULL)
printf ("'g' was not found in the src buffer\n");
else
printf ("characters copied up to 'g'\n");
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -