|
|
1.1 ! root 1: ! 2: /* ! 3: * strcat.s 4.1 (Tahoe) June 1983 ! 4: * ! 5: * Concatenate s2 on the end of s1. S1's space must be large enough. ! 6: * Return s1. ! 7: * ! 8: * char * strcat(s1, s2) ! 9: * register char *s1, *s2; ! 10: */ ! 11: #include "DEFS.h" ! 12: ! 13: ENTRY(strcat) ! 14: movl 4(fp),r0 ! 15: movl r0,r1 ! 16: cmps2 # r0 and r1 point at null at end of s1 ! 17: movl 8(fp),r0 # source string ! 18: movs2 ! 19: movl 4(fp),r0 ! 20: ret
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.