aboutsummaryrefslogtreecommitdiff
path: root/sys/imfort/db/imgetc.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/imfort/db/imgetc.x')
-rw-r--r--sys/imfort/db/imgetc.x13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/imfort/db/imgetc.x b/sys/imfort/db/imgetc.x
new file mode 100644
index 00000000..f56ecb9d
--- /dev/null
+++ b/sys/imfort/db/imgetc.x
@@ -0,0 +1,13 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+# IMGETC -- Get an image header parameter of type char.
+
+char procedure imgetc (im, key)
+
+pointer im # image descriptor
+char key[ARB] # parameter to be returned
+long imgetl()
+
+begin
+ return (imgetl (im, key))
+end