strcat


文字列を連結します。

[所属]

標準ライブラリ

[指定形式]

#include <string.h>

char __near * __far strcat(char __near *s1, const char __near *s2);

char __far * __far _COM_strcat_ff(char __far *s1, const char __far *s2);

[戻り値]

s1の値を返します。

[詳細説明]

s2の指す文字列のコピーを,null文字(\0)を含めて,s1の指す文字列の末尾に連結します。s2の最初の文字はs1の終わりのnull文字(\0)を上書きします。

コピー元とコピー先の領域が重なっている場合,その動作は不定です。