bcopy.c
来自「minimal python variant for small footpri」· C语言 代码 · 共 26 行
C
26 行
/* * linux/lib/string.c * * Copyright (C) 1991, 1992 Linus Torvalds */#include <sys/types.h>#include <string.h>#include <ctype.h>#include "libc_segments.h"#ifndef __HAVE_ARCH_BCOPY#undef bcopychar * bcopy(const char * src, char * dest, int count) SEG_LIBC;char * bcopy(const char * src, char * dest, int count){ char *tmp = dest; while (count--) *tmp++ = *src++; return dest;}#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?