diff options
Diffstat (limited to 'sys/imio/db/imputl.x')
-rw-r--r-- | sys/imio/db/imputl.x | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys/imio/db/imputl.x b/sys/imio/db/imputl.x new file mode 100644 index 00000000..3bc0d64c --- /dev/null +++ b/sys/imio/db/imputl.x @@ -0,0 +1,21 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +# IMPUTL -- Put an image header parameter of type long integer. + +procedure imputl (im, key, lval) + +pointer im # image descriptor +char key[ARB] # parameter to be set +long lval # parameter value +pointer sp, sval + +begin + call smark (sp) + call salloc (sval, SZ_FNAME, TY_CHAR) + + call sprintf (Memc[sval], SZ_FNAME, "%d") + call pargl (lval) + call impstr (im, key, Memc[sval]) + + call sfree (sp) +end |