diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/fmtio/fmt.com | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'sys/fmtio/fmt.com')
-rw-r--r-- | sys/fmtio/fmt.com | 17 |
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 |