strcat.c
来自「nachos操作系统框架」· C语言 代码 · 共 17 行
C
17 行
#include "stdlib.h"/* concatenates s2 to the end of s1 and returns s1 */char *strcat(char *s1, const char *s2) { char* result = s1; while (*s1 != 0) s1++; do { *(s1++) = *(s2); } while (*(s2++) != 0); return result;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?