aboutsummaryrefslogtreecommitdiff
path: root/unix/as.linux/amovi.c
blob: 91bc2060ea719de04bfbe3b2e6b9715ae7359c67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
 */

#define import_spp
#define import_knames
#include <iraf.h>

/* AMOVI -- Copy a block of memory.
 * [Specially optimized for Sun/IRAF].
 */
AMOVI (a, b, n)
XINT	*a, *b;
XINT	*n;
{
	if (a != b)
	    memmove ((char *)b, (char *)a, *n * sizeof(*a));
}