aboutsummaryrefslogtreecommitdiff
path: root/sys/libc/cgflush.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/libc/cgflush.c')
-rw-r--r--sys/libc/cgflush.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/libc/cgflush.c b/sys/libc/cgflush.c
new file mode 100644
index 00000000..8d5fe072
--- /dev/null
+++ b/sys/libc/cgflush.c
@@ -0,0 +1,20 @@
+/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+*/
+
+#define import_spp
+#define import_libc
+#define import_xnames
+#include <iraf.h>
+
+
+/* C_GFLUSH -- Flush any buffered graphics output.
+*/
+void
+c_gflush (
+ int stream /* graphics stream */
+)
+{
+ XINT x_stream = stream;
+
+ GTR_GFLUSH (&x_stream);
+}