diff options
Diffstat (limited to 'unix/as.linuxppc/amovc.c')
-rw-r--r-- | unix/as.linuxppc/amovc.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/unix/as.linuxppc/amovc.c b/unix/as.linuxppc/amovc.c new file mode 100644 index 00000000..ecba2573 --- /dev/null +++ b/unix/as.linuxppc/amovc.c @@ -0,0 +1,17 @@ +/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + */ + +#define import_spp +#define import_knames +#include <iraf.h> + +/* AMOVC -- Copy a block of memory. + * [Specially optimized for Sun/IRAF]. + */ +AMOVC (a, b, n) +XCHAR *a, *b; +XINT *n; +{ + if (a != b) + memmove ((char *)b, (char *)a, *n * sizeof(*a)); +} |