aboutsummaryrefslogtreecommitdiff
path: root/sys/fmtio/fmt.com
blob: 3f6d252548a7ae17b7662664e45e00fc3c66c998 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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