aboutsummaryrefslogtreecommitdiff
path: root/sys/fmtio/fmt.com
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /sys/fmtio/fmt.com
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/fmtio/fmt.com')
-rw-r--r--sys/fmtio/fmt.com17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/fmtio/fmt.com b/sys/fmtio/fmt.com
new file mode 100644
index 00000000..3f6d2525
--- /dev/null
+++ b/sys/fmtio/fmt.com
@@ -0,0 +1,17 @@
+# Printf common block.
+
+int fd # output file
+int ip # pointer to next char in format string
+int width, decpl # field width, number of decimal places
+int col # output column
+int left_justify # left or right justify output in field
+int radix # output radix
+int fmt_state # current state of FPRFMT (gets a format)
+int ofile_type # type of output file
+int format_char # format type character (bcdefghmorstuxz#*)
+char fill_char # filler char for rt. justification
+char format[SZ_OBUF] # format string
+char obuf[SZ_OBUF] # for formatting output
+
+common /fmtcom/ fd,ip,width,decpl,col,left_justify,radix,fmt_state,
+ ofile_type,format_char,fill_char,format,obuf