blob: 49798ba06eb50d80a3a04f6f760678254502d9fd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
*/
#define import_libc
#include <iraf.h>
/* STRCAT -- Concatenate S2 onto S1.
*/
char *
strcat (
char *s1, /* output string */
char *s2 /* string to be appended */
)
{
register char *ip, *op;
for (op=s1; *op++; )
;
for (--op, ip=s2; (*op++ = *ip++); )
;
return (s1);
}
|