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