| 1 |
/* EFL support routine to copy string b to string a */ |
| 2 |
|
| 3 |
#include "f2c.h" |
| 4 |
#ifdef __cplusplus |
| 5 |
extern "C" { |
| 6 |
#endif |
| 7 |
|
| 8 |
|
| 9 |
#define M ( (long) (sizeof(long) - 1) ) |
| 10 |
#define EVEN(x) ( ( (x)+ M) & (~M) ) |
| 11 |
|
| 12 |
#ifdef KR_headers |
| 13 |
extern VOID s_copy(); |
| 14 |
ef1asc_(a, la, b, lb) ftnint *a, *b; ftnlen *la, *lb; |
| 15 |
#else |
| 16 |
extern void s_copy(char*,char*,ftnlen,ftnlen); |
| 17 |
int ef1asc_(ftnint *a, ftnlen *la, ftnint *b, ftnlen *lb) |
| 18 |
#endif |
| 19 |
{ |
| 20 |
s_copy( (char *)a, (char *)b, EVEN(*la), *lb ); |
| 21 |
return 0; /* ignored return value */ |
| 22 |
} |
| 23 |
#ifdef __cplusplus |
| 24 |
} |
| 25 |
#endif |