aboutsummaryrefslogtreecommitdiff
path: root/unix/as.sunos/aclrb.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/as.sunos/aclrb.c')
-rw-r--r--unix/as.sunos/aclrb.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/unix/as.sunos/aclrb.c b/unix/as.sunos/aclrb.c
new file mode 100644
index 00000000..8c03c7a1
--- /dev/null
+++ b/unix/as.sunos/aclrb.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>
+
+/* ACLRB -- Clear a block of memory.
+ * [Specially optimized for Sun/IRAF].
+ */
+ACLRB (a, n)
+XCHAR *a;
+XINT *n;
+{
+ memset ((char *)a, 0, *n);
+}