aboutsummaryrefslogtreecommitdiff
path: root/sys/fmtio/fmt.com
diff options
context:
space:
mode:
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