1#ifdef LIBC_SCCS 2 .asciz "@(#)strcat.s 1.1 (Berkeley/CCI) 08/01/86" 3#endif LIBC_SCCS 4 5/* 6 * Concatenate s2 on the end of s1. S1's space must be large enough. 7 * Return s1. 8 * 9 * char * strcat(s1, s2) 10 * register char *s1, *s2; 11*/ 12#include "DEFS.h" 13 14ENTRY(strcat, 0) 15 movl 4(fp),r0 16 movl r0,r1 17 cmps2 # r0 and r1 point at null at end of s1 18 movl 8(fp),r0 # source string 19 movs2 20 movl 4(fp),r0 21 ret 22