回复 17 楼 embed_xuel
NAMEstrcat, strncat - concatenate two strings
SYNOPSIS
#include <string.h>
char *strcat(char *dest, const char *src);
char *strncat(char *dest, const char *src, size_t n);
DESCRIPTION
The strcat() function appends the src string to the dest string, over-
writing the null byte ('\0') at the end of dest, and then adds a termi-
nating null byte. The strings may not overlap, and the dest string
must have enough space for the result.
NAME
strlen - calculate the length of a string
SYNOPSIS
#include <string.h>
size_t strlen(const char *s);
DESCRIPTION
The strlen() function calculates the length of the string s, not including the terminating '\0' character.