ef1asc_.c 521 B

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