summaryrefslogtreecommitdiff
path: root/libf2c/libF77/ef1asc_.c
blob: 2e12423196faaadb6d0d278b509b26f64dd51ddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* EFL support routine to copy string b to string a */

#include "f2c.h"


#define M	( (long) (sizeof(long) - 1) )
#define EVEN(x)	( ( (x)+ M) & (~M) )

extern void s_copy(char*,char*,ftnlen,ftnlen);
int G77_ef1asc_0 (ftnint *a, ftnlen *la, ftnint *b, ftnlen *lb)
{
s_copy( (char *)a, (char *)b, EVEN(*la), *lb );
return 0;	/* ignored return value */
}