strcat.c\string\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/string/strcat.c
blob: 33f749b1d21c59c0308a08d6bed1339607a0bbd5 (plain) (blame)
1
2
3
4
5
6
7
#include <string.h>
char *strcat(char *restrict dest, const char *restrict src)
{
	strcpy(dest + strlen(dest), src);
	return dest;
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 21:34:59 +0000

AltStyle によって変換されたページ (->オリジナル) /