aboutsummaryrefslogtreecommitdiff
path: root/unix/as.macosx/aclrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/as.macosx/aclrc.c')
-rw-r--r--unix/as.macosx/aclrc.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/unix/as.macosx/aclrc.c b/unix/as.macosx/aclrc.c
new file mode 100644
index 00000000..04e0e19b
--- /dev/null
+++ b/unix/as.macosx/aclrc.c
@@ -0,0 +1,16 @@
+/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+ */
+
+#define import_spp
+#define import_knames
+#include <iraf.h>
+
+/* ACLRC -- Clear a block of memory.
+ * [Specially optimized for Sun/IRAF].
+ */
+ACLRC (a, n)
+XCHAR *a;
+XINT *n;
+{
+ memset ((char *)a, 0, *n * sizeof(*a));
+}