xref: /csrg-svn/usr.bin/f77/libF77/ef1asc_.c (revision 22888)
110480Sdlw /*
2*22888Skre  * Copyright (c) 1980 Regents of the University of California.
3*22888Skre  * All rights reserved.  The Berkeley software License Agreement
4*22888Skre  * specifies the terms and conditions for redistribution.
5*22888Skre  *
6*22888Skre  *	@(#)ef1asc_.c	5.1	06/07/85
710480Sdlw  */
810480Sdlw 
910480Sdlw /* EFL support routine to copy string b to string a */
1010480Sdlw 
1110480Sdlw #define M	( (long) (sizeof(long) - 1) )
1210480Sdlw #define EVEN(x)	( ( (x)+ M) & (~M) )
1310480Sdlw 
1410480Sdlw ef1asc_(a, la, b, lb)
1510480Sdlw int *a, *b;
1610480Sdlw long int *la, *lb;
1710480Sdlw {
1810480Sdlw s_copy( (char *)a, (char *)b, EVEN(*la), *lb );
1910480Sdlw }
20