.so /u/lance/ksos/manmacros.m
.rm th
.rm tf
.rm yy00
.rm qs
.ds BB I
..\" called for the beginning of a new subdivision in the ToC 
..\"    Titles to go with each section 
..\"    change string between qoutes to get appropriate heading
.de q2
.in 0
.ta 6 47
'br
.if 'I'\\*(BB' .ds SO Secure Server Commands
.if 'II'\\*(BB' .ds SO Kernel Calls
.if 'IIa'\\*(BB' .ds SO Kernel Structure Format
.if 'III'\\*(BB' .ds SO NKSR Interface Calls
.if 'IV'\\*(BB' .ds SO KIP Calls
.if 'V'\\*(BB' .ds SO System Databases
.if 'VI'\\*(BB' .ds SO Supported Hardware Devices
.if 'VIII'\\*(BB' .ds SO System Administration and Operations
.if 'IX'\\*(BB' .ds SO Miscellaneous
'sp 2
\\*(BB. \\*(SO
'sp 1
.qs \\$1 
.ta
.in
..
..\" outputs a line per routine in each section 
..\"
.de qs
.tc .
.ta 40
.in 6
.ie !\\n%  \\$1  	  \\*(BB-1
.el \\$1  	  \\*(BB-\\n%
.in
.ta
.tc
..
..\"
..\" called at the beginning of each procedure in each section
..\"
.de th
.de }X
.ev 1
.if t .}C
'ft 1
'ps 10
'sp .5i
.tl @\\$1\|(\|\\$2\|)@KSOS\(fs\| \\$3@\\$1\|(\|\\$2\|)@
'ps
'ft
'sp .5i
.ev
\\..
.wh -2i }F
.wh 0 }X
.if \\n+(}P>1 .bp
.da yy00
'br
.nf
.qs \\$1
.fi
.br
.di
.ft 1
.ft 1
.ps 10
.vs 12p
.if t .po .5i
.in \\n(}Iu
.fi
.dt\"get back default tabs
.mc\"turn off any margin characters
.ad
..
..\"
..\" called at the beginning of the first procedure in each section
..\"
.de tf
.de }Y
.ev 1
.if t .}C
'ft 1
'ps 10
'sp .5i
.tl @\\$1\|(\|\\$2\|)@KSOS\(fs\| \\$3@\\$1\|(\|\\$2\|)@
'ps
'ft
'sp .5i
.ev
\\..
.wh -2i }F
.wh 0 }Y
.if \\n+(}P>1 .bp1
.ds BB \\$2
.da yy00
'br
.nf
.q2 \\$1 
.fi
.br
.di
.ft 1
.ft 1
.ps 10
.vs 12p
.if t .po .5i
.in \\n(}Iu
.fi
.dt\"get back default tabs
.mc\"turn off any margin characters
.ad
..
