Enabled the regex code in the library. We know have POSIX regular expression
[unix-history] / lib / libF77 / ef1asc_.c
CommitLineData
547779a8
WH
1/* EFL support routine to copy string b to string a */
2
3#include "f2c.h"
4
5
6#define M ( (long) (sizeof(long) - 1) )
7#define EVEN(x) ( ( (x)+ M) & (~M) )
8
9#ifdef KR_headers
10extern VOID s_copy();
11ef1asc_(a, la, b, lb) ftnint *a, *b; ftnlen *la, *lb;
12#else
13extern void s_copy(char*,char*,ftnlen,ftnlen);
14int ef1asc_(ftnint *a, ftnlen *la, ftnint *b, ftnlen *lb)
15#endif
16{
17s_copy( (char *)a, (char *)b, EVEN(*la), *lb );
18#ifdef __cplusplus
19return 0;
20#endif
21}