From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- sys/fmtio/fmt.com | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sys/fmtio/fmt.com (limited to 'sys/fmtio/fmt.com') 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 -- cgit