internal update
[s-roff.git] / tmac / doc-syms.new
blobd7690a348d5795e32a8acbd80d5e923d7e271b99
1 .\" Copyright (c) 1991 The Regents of the University of California.
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"      This product includes software developed by the University of
15 .\"      California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\"    may be used to endorse or promote products derived from this software
18 .\"    without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\"     @(#)doc-syms 5.6 (Berkeley) 8/5/91
33 .\"
34 .\"     %beginstrip%
37 .eo
39 .\" NS Ld user macro
40 .\" NS   print `...' (similar to TeX's \ldots command)
41 .\" NS
42 .\" NS modifies:
43 .\" NS   doc-arg-ptr
44 .\" NS   doc-macro-name
45 .\" NS
46 .\" NS width register `Ld' defined in doc-common
48 .de Ld
49 .  if !\n[doc-arg-limit] \
50 .    if \n[.$] \{\
51 .      ds doc-macro-name Ld
52 .      doc-parse-args \$@
53 .    \}
55 .  \" replace current argument with result
56 .  ds doc-arg\n[doc-arg-ptr] \|.\|.\|.\&
57 .  nr doc-type\n[doc-arg-ptr] 2
58 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
60 .  \" recompute space vector for remaining arguments
61 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
62 .  nr doc-arg-limit \n[doc-arg-ptr]
63 .  if \n[doc-num-args] \
64 .    doc-parse-space-vector
66 .  doc-print-recursive
70 .\" NS Ux user macro
71 .\" NS   print UNIX
72 .\" NS
73 .\" NS modifies:
74 .\" NS   doc-arg-ptr
75 .\" NS   doc-curr-font
76 .\" NS   doc-curr-size
77 .\" NS   doc-macro-name
78 .\" NS
79 .\" NS local variable:
80 .\" NS   doc-str-Ux
81 .\" NS
82 .\" NS width register `Ux' defined in doc-common
84 .de Ux
85 .  nr doc-curr-font \n[.f]
86 .  nr doc-curr-size \n[.ps]
87 .  ds doc-str-Ux \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
89 .  if !\n[doc-arg-limit] \
90 .    if \n[.$] \{\
91 .      ds doc-macro-name Ux
92 .      doc-parse-args \$@
93 .    \}
95 .  \" replace current argument with result
96 .  ds doc-arg\n[doc-arg-ptr] \*[doc-Tn-font-size]UNIX\*[doc-str-Ux]
97 .  nr doc-type\n[doc-arg-ptr] 2
98 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
100 .  \" recompute space vector for remaining arguments
101 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
102 .  nr doc-arg-limit \n[doc-arg-ptr]
103 .  if \n[doc-num-args] \
104 .    doc-parse-space-vector
106 .  doc-print-recursive
110 .\" NS Bx user macro
111 .\" NS   print BSD (fix smaller nroff version)
112 .\" NS
113 .\" NS modifies:
114 .\" NS   doc-arg-ptr
115 .\" NS   doc-curr-font
116 .\" NS   doc-curr-size
117 .\" NS   doc-macro-name
118 .\" NS
119 .\" NS local variable:
120 .\" NS   doc-str-Bx
121 .\" NS   doc-str-Bx1
122 .\" NS   doc-str-Bx-XXX
123 .\" NS
124 .\" NS width register `Bx' defined in doc-common
126 .ds doc-str-Bx-Reno  \-Reno
127 .ds doc-str-Bx-reno  \-Reno
128 .ds doc-str-Bx-Tahoe \-Tahoe
129 .ds doc-str-Bx-tahoe \-Tahoe
130 .ds doc-str-Bx-Lite  \-Lite
131 .ds doc-str-Bx-lite  \-Lite
132 .ds doc-str-Bx-Lite2 \-Lite2
133 .ds doc-str-Bx-lite2 \-Lite2
135 .de Bx
136 .  nr doc-curr-font \n[.f]
137 .  nr doc-curr-size \n[.ps]
138 .  ds doc-str-Bx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
140 .  \" default value if no argument
141 .  ds doc-str-Bx1 \*[doc-Tn-font-size]BSD\*[doc-str-Bx]
143 .  if !\n[doc-arg-limit] \
144 .    if \n[.$] \{\
145 .      ds doc-macro-name Bx
146 .      doc-parse-args \$@
147 .    \}
149 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
150 .    nr doc-arg-ptr +1
151 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
152 .      ie        "\*[doc-arg\n[doc-arg-ptr]]"-alpha" \
153 .        as doc-str-Bx1 " (currently in alpha test)
154 .      el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-beta" \
155 .        as doc-str-Bx1 " (currently in beta test)
156 .      el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-devel" \
157 .        as doc-str-Bx1 " (currently under development)
158 .      el \{\
159 .        ds doc-str-Bx1 \&\*[doc-arg\n[doc-arg-ptr]]\^\*[doc-Tn-font-size]
160 .        as doc-str-Bx1 BSD\*[doc-str-Bx]
162 .        if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
163 .          nr doc-arg-ptr +1
164 .          ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
165 .            ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
166 .              ie d doc-str-Bx-\*[doc-arg\n[doc-arg-ptr]] \
167 .                as doc-str-Bx1 "\*[doc-str-Bx-\*[doc-arg\n[doc-arg-ptr]]]
168 .              el \
169 .                nr doc-arg-ptr -1
170 .            \}
171 .            el \
172 .              nr doc-arg-ptr -1
173 .          \}
174 .          el \
175 .            nr doc-arg-ptr -1
176 .    \}\}\}\}\}
177 .    el \
178 .      nr doc-arg-ptr -1
179 .  \}
181 .  \" replace current argument with result
182 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Bx1]
183 .  nr doc-type\n[doc-arg-ptr] 2
184 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
186 .  \" recompute space vector for remaining arguments
187 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
188 .  nr doc-arg-limit \n[doc-arg-ptr]
189 .  if \n[doc-num-args] \
190 .    doc-parse-space-vector
192 .  doc-print-recursive
196 .\" NS Ud user macro (not parsed, not callable)
197 .\" NS   print "currently under development" (HISTORY section)
198 .\" NS
199 .\" NS width register `Ud' defined in doc-common
201 .de Ud
202 .  nop \&currently under development.
206 .\" NS At user macro
207 .\" NS   print AT&T UNIX
208 .\" NS
209 .\" NS modifies:
210 .\" NS   doc-arg-ptr
211 .\" NS   doc-curr-font
212 .\" NS   doc-curr-size
213 .\" NS   doc-macro-name
214 .\" NS
215 .\" NS local variable:
216 .\" NS   doc-str-At
217 .\" NS   doc-str-At1
218 .\" NS   doc-str-At-XXX
219 .\" NS
220 .\" NS width register `At' defined in doc-common
222 .ds doc-str-At-32v \&Version\~32V
223 .as doc-str-At-32v " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
224 .ds doc-str-At-v1  \&Version\~1
225 .as doc-str-At-v1  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
226 .ds doc-str-At-v2  \&Version\~2
227 .as doc-str-At-v2  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
228 .ds doc-str-At-v3  \&Version\~3
229 .as doc-str-At-v3  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
230 .ds doc-str-At-v4  \&Version\~4
231 .as doc-str-At-v4  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
232 .ds doc-str-At-v5  \&Version\~5
233 .as doc-str-At-v5  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
234 .ds doc-str-At-v6  \&Version\~6
235 .as doc-str-At-v6  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
236 .ds doc-str-At-v7  \&Version\~7
237 .as doc-str-At-v7  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
238 .ds doc-str-At-V   \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V
239 .as doc-str-At-V   " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
240 .ds doc-str-At-V.1 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.1
241 .as doc-str-At-V.1 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
242 .ds doc-str-At-V.2 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.2
243 .as doc-str-At-V.2 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
244 .ds doc-str-At-V.4 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.4
245 .as doc-str-At-V.4 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
247 .de At
248 .  nr doc-curr-font \n[.f]
249 .  nr doc-curr-size \n[.ps]
250 .  ds doc-str-At \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
252 .  \" default value if no argument
253 .  ds doc-str-At1 \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
255 .  if !\n[doc-arg-limit] \
256 .    if \n[.$] \{\
257 .      ds doc-macro-name At
258 .      doc-parse-args \$@
259 .    \}
261 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
262 .    nr doc-arg-ptr +1
263 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
264 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
265 .        ie d doc-str-At-\*[doc-arg\n[doc-arg-ptr]] \
266 .          ds doc-str-At1 "\*[doc-str-At-\*[doc-arg\n[doc-arg-ptr]]]
267 .        el \{\
268 .          tmc mdoc warning: .At: Unknown AT&T UNIX version
269 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
270 .          nr doc-arg-ptr -1
271 .      \}\}
272 .      el \
273 .        nr doc-arg-ptr -1
274 .    \}
275 .    el \
276 .      nr doc-arg-ptr -1
277 .  \}
279 .  \" replace current argument with result
280 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-At1]
281 .  nr doc-type\n[doc-arg-ptr] 2
282 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
284 .  \" recompute space vector for remaining arguments
285 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
286 .  nr doc-arg-limit \n[doc-arg-ptr]
287 .  if \n[doc-num-args] \
288 .    doc-parse-space-vector
290 .  doc-print-recursive
294 .\" NS Fx user macro
295 .\" NS   print FreeBSD
296 .\" NS
297 .\" NS modifies:
298 .\" NS   doc-arg-ptr
299 .\" NS   doc-curr-font
300 .\" NS   doc-curr-size
301 .\" NS   doc-macro-name
302 .\" NS
303 .\" NS local variable:
304 .\" NS   doc-str-Fx
305 .\" NS   doc-str-Fx1
306 .\" NS
307 .\" NS width register `Fx' defined in doc-common
309 .\" we use the doc-operating-system-FreeBSD-* strings defined in doc-common
311 .de Fx
312 .  nr doc-curr-font \n[.f]
313 .  nr doc-curr-size \n[.ps]
314 .  ds doc-str-Fx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
316 .  \" default value if no argument
317 .  ds doc-str-Fx1 \*[doc-Tn-font-size]\%FreeBSD\*[doc-str-Fx]
319 .  if !\n[doc-arg-limit] \
320 .    if \n[.$] \{\
321 .      ds doc-macro-name Fx
322 .      doc-parse-args \$@
323 .    \}
325 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
326 .    nr doc-arg-ptr +1
327 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
328 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
329 .        ie d doc-operating-system-FreeBSD-\*[doc-arg\n[doc-arg-ptr]] \
330 .          as doc-str-Fx1 \~\*[doc-operating-system-FreeBSD-\*[doc-arg\n[doc-arg-ptr]]]
331 .        el \{\
332 .          tmc mdoc warning: .Fx: Unknown FreeBSD version
333 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
334 .          as doc-str-Fx1 \~\*[doc-arg\n[doc-arg-ptr]]
335 .      \}\}
336 .      el \
337 .        as doc-str-Fx1 \~\*[doc-arg\n[doc-arg-ptr]]
338 .    \}
339 .    el \
340 .      nr doc-arg-ptr -1
341 .  \}
343 .  \" replace current argument with result
344 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Fx1]
345 .  nr doc-type\n[doc-arg-ptr] 2
346 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
348 .  \" recompute space vector for remaining arguments
349 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
350 .  nr doc-arg-limit \n[doc-arg-ptr]
351 .  if \n[doc-num-args] \
352 .    doc-parse-space-vector
354 .  doc-print-recursive
358 .\" NS Nx user macro
359 .\" NS   print NetBSD
360 .\" NS
361 .\" NS modifies:
362 .\" NS   doc-arg-ptr
363 .\" NS   doc-curr-font
364 .\" NS   doc-curr-size
365 .\" NS   doc-macro-name
366 .\" NS
367 .\" NS local variable:
368 .\" NS   doc-str-Nx
369 .\" NS   doc-str-Nx1
370 .\" NS
371 .\" NS width register `Nx' defined in doc-common
373 .\" we use the doc-operating-system-NetBSD-* strings defined in doc-common
375 .de Nx
376 .  nr doc-curr-font \n[.f]
377 .  nr doc-curr-size \n[.ps]
378 .  ds doc-str-Nx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
380 .  \" default value if no argument
381 .  ds doc-str-Nx1 \*[doc-Tn-font-size]\%N\s[\n[doc-curr-size]u]et
382 .  as doc-str-Nx1 \*[doc-Tn-font-size]BSD\*[doc-str-Nx]
384 .  if !\n[doc-arg-limit] \
385 .    if \n[.$] \{\
386 .      ds doc-macro-name Nx
387 .      doc-parse-args \$@
388 .    \}
390 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
391 .    nr doc-arg-ptr +1
392 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
393 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
394 .        ie d doc-operating-system-NetBSD-\*[doc-arg\n[doc-arg-ptr]] \
395 .          as doc-str-Nx1 \~\*[doc-operating-system-NetBSD-\*[doc-arg\n[doc-arg-ptr]]]
396 .        el \{\
397 .          tmc mdoc warning: .Nx: Unknown NetBSD version
398 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
399 .          as doc-str-Nx1 \~\*[doc-arg\n[doc-arg-ptr]]
400 .      \}\}
401 .      el \
402 .        as doc-str-Nx1 \~\*[doc-arg\n[doc-arg-ptr]]
403 .    \}
404 .    el \
405 .      nr doc-arg-ptr -1
406 .  \}
408 .  \" replace current argument with result
409 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Nx1]
410 .  nr doc-type\n[doc-arg-ptr] 2
411 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
413 .  \" recompute space vector for remaining arguments
414 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
415 .  nr doc-arg-limit \n[doc-arg-ptr]
416 .  if \n[doc-num-args] \
417 .    doc-parse-space-vector
419 .  doc-print-recursive
423 .\" NS Ox user macro
424 .\" NS   print OpenBSD
425 .\" NS
426 .\" NS modifies:
427 .\" NS   doc-arg-ptr
428 .\" NS   doc-curr-font
429 .\" NS   doc-curr-size
430 .\" NS   doc-macro-name
431 .\" NS
432 .\" NS local variable:
433 .\" NS   doc-str-Ox
434 .\" NS   doc-str-Ox1
435 .\" NS
436 .\" NS width register `Ox' defined in doc-common
438 .de Ox
439 .  nr doc-curr-font \n[.f]
440 .  nr doc-curr-size \n[.ps]
441 .  ds doc-str-Ox \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
443 .  \" default value if no argument
444 .  ds doc-str-Ox1 \*[doc-Tn-font-size]\%OpenBSD\*[doc-str-Ox]
446 .  if !\n[doc-arg-limit] \
447 .    if \n[.$] \{\
448 .      ds doc-macro-name Ox
449 .      doc-parse-args \$@
450 .    \}
452 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
453 .    nr doc-arg-ptr +1
454 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
455 .      as doc-str-Ox1 \~\*[doc-arg\n[doc-arg-ptr]]
456 .    el \
457 .      nr doc-arg-ptr -1
458 .  \}
460 .  \" replace current argument with result
461 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Ox1]
462 .  nr doc-type\n[doc-arg-ptr] 2
463 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
465 .  \" recompute space vector for remaining arguments
466 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
467 .  nr doc-arg-limit \n[doc-arg-ptr]
468 .  if \n[doc-num-args] \
469 .    doc-parse-space-vector
471 .  doc-print-recursive
475 .\" NS Bsx user macro
476 .\" NS   print BSD/OS
477 .\" NS
478 .\" NS modifies:
479 .\" NS   doc-arg-ptr
480 .\" NS   doc-curr-font
481 .\" NS   doc-curr-size
482 .\" NS   doc-macro-name
483 .\" NS
484 .\" NS local variable:
485 .\" NS   doc-str-Bsx
486 .\" NS   doc-str-Bsx1
487 .\" NS
488 .\" NS width register `Bsx' defined in doc-common
490 .de Bsx
491 .  nr doc-curr-font \n[.f]
492 .  nr doc-curr-size \n[.ps]
493 .  ds doc-str-Bsx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
495 .  \" default value if no argument
496 .  ds doc-str-Bsx1 \*[doc-Tn-font-size]BSD/OS\*[doc-str-Bsx]
498 .  if !\n[doc-arg-limit] \
499 .    if \n[.$] \{\
500 .      ds doc-macro-name Bsx
501 .      doc-parse-args \$@
502 .    \}
504 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
505 .    nr doc-arg-ptr +1
506 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
507 .      as doc-str-Bsx1 \~\*[doc-arg\n[doc-arg-ptr]]
508 .    el \
509 .      nr doc-arg-ptr -1
510 .  \}
512 .  \" replace current argument with result
513 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Bsx1]
514 .  nr doc-type\n[doc-arg-ptr] 2
515 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
517 .  \" recompute space vector for remaining arguments
518 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
519 .  nr doc-arg-limit \n[doc-arg-ptr]
520 .  if \n[doc-num-args] \
521 .    doc-parse-space-vector
523 .  doc-print-recursive
527 .\" The Bt macro should go away now
529 .\" NS Bt user macro (not parsed, not callable)
530 .\" NS   print "is currently in beta test." (HISTORY section)
531 .\" NS
532 .\" NS width register `Bt' defined in doc-common
534 .de Bt
535 .  nop \&is currently in beta test.
539 .\" NS Px user macro
540 .\" NS   print POSIX
542 .ds Px \*[doc-Tn-font-size]\%POSIX
545 .\" NS Ai user macro
546 .\" NS   print ANSI
548 .ds Ai \*[doc-Tn-font-size]\%ANSI
551 .\" NS St user macro
552 .\" NS   standards (posix, ansi - formal standard names)
553 .\" NS
554 .\" NS modifies:
555 .\" NS   doc-arg-ptr
556 .\" NS   doc-curr-font
557 .\" NS   doc-curr-size
558 .\" NS   doc-macro-name
559 .\" NS
560 .\" NS local variable:
561 .\" NS   doc-reg-St
562 .\" NS   doc-str-St
563 .\" NS   doc-str-St1
564 .\" NS   doc-str-St-XXX
565 .\" NS
566 .\" NS width register `St' defined in doc-common
568 .ds doc-str-St--ansiC       \*[doc-Tn-font-size]ISO\*[doc-str-St] 9899:1990
569 .as doc-str-St--ansiC       " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\*[doc-str-St]\*[Rq])
570 .ds doc-str-St--ansiC-89    \*[Ai] \*[doc-str-St]X\~3.159-1989
571 .as doc-str-St--ansiC-89    " (\*[Lq]\)\*[Ai]\~C\*[doc-str-St]\*[Rq])
572 .ds doc-str-St--ieee754     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 754-1985
573 .ds doc-str-St--iso8802-3   \*[doc-Tn-font-size]ISO\*[doc-str-St] 8802-3:1989
574 .ds doc-str-St--iso9899     \*[doc-Tn-font-size]ISO\*[doc-str-St] 9899-1990
575 .as doc-str-St--iso9899     " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\*[doc-str-St]\*[Rq])
576 .ds doc-str-St--iso9945-1   \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-1:1996
577 .as doc-str-St--iso9945-1   " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
578 .als doc-str-St--isoC doc-str-St--ansiC
579 .ds doc-str-St--isoC-99     \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:1999
580 .as doc-str-St--isoC-99     " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^99\*[doc-str-St]\*[Rq])
581 .als doc-str-St--isoC99 doc-str-St--isoC-99
582 .ds doc-str-St--p1003.1     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1
583 .as doc-str-St--p1003.1     " (\*[Lq]\)\*[Px]\*[doc-str-St]\*[Rq])
584 .ds doc-str-St--p1003.1-88  \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-1988
585 .as doc-str-St--p1003.1-88  " (\*[Lq]\)\*[Px]\*[doc-str-St]\*[Rq])
586 .ds doc-str-St--p1003.1-90  \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-1990
587 .as doc-str-St--p1003.1-90  " (\*[Lq]\)\*[Px]\*[doc-str-St]\*[Rq])
588 .ds doc-str-St--p1003.1b    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1b
589 .as doc-str-St--p1003.1b    " (\*[Lq]\)\*[Px]\*[doc-str-St]\*[Rq])
590 .ds doc-str-St--p1003.1b-93 \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1b-1993
591 .as doc-str-St--p1003.1b-93 " (\*[Lq]\)\*[Px]\*[doc-str-St]\*[Rq])
592 .ds doc-str-St--p1003.1g    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1g
593 .as doc-str-St--p1003.1g    " (\*[Lq]\)\*[Px]\*[doc-str-St]\*[Rq])
594 .ds doc-str-St--p1003.2     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2
595 .as doc-str-St--p1003.2     " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
596 .ds doc-str-St--p1003.2-92  \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2-1992
597 .as doc-str-St--p1003.2-92  " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
598 .ds doc-str-St--susv2       Version\~2 of the Single
599 .as doc-str-St--susv2       " \*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
600 .ds doc-str-St--xpg3        \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~3
601 .as doc-str-St--xpg3        " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^3\*[Rq])
602 .ds doc-str-St--xpg4        \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4
603 .as doc-str-St--xpg4        " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^4\*[Rq])
604 .ds doc-str-St--xpg4.2      \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4.2
605 .as doc-str-St--xpg4.2      " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^4.2\*[Rq])
607 .de St
608 .  if !\n[doc-arg-limit] \{\
609 .    ie \n[.$] \{\
610 .      ds doc-macro-name St
611 .      doc-parse-args \$@
612 .    \}
613 .    el \
614 .      doc-St-usage
615 .  \}
617 .  if \n[doc-arg-limit] \{\
618 .    nr doc-arg-ptr +1
619 .    ie (\n[doc-arg-limit] >= \n[doc-arg-ptr]) \{\
620 .      nr doc-curr-font \n[.f]
621 .      nr doc-curr-size \n[.ps]
622 .      ds doc-str-St \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
624 .      ds doc-str-St1
625 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
626 .        ie d doc-str-St-\*[doc-arg\n[doc-arg-ptr]] \
627 .          ds doc-str-St1 "\*[doc-str-St-\*[doc-arg\n[doc-arg-ptr]]]
628 .        el \
629 .          doc-St-usage
630 .      \}
631 .      el \
632 .        doc-St-usage
634 .      \" replacing argument with result
635 .      ds doc-arg\n[doc-arg-ptr] "\*[doc-str-St1]
637 .      doc-print-recursive
638 .    \}
639 .    el \{\
640 .      doc-St-usage
641 .      doc-reset-args
642 .  \}\}
646 .\" NS doc-St-usage macro
648 .de doc-St-usage
649 .  tm1 "Usage: .St [-p1003.1 | -p1003.1-88 | -p1003.1-90 | -p1003.1b |
650 .  tm1 "            -p1003.1b-93 | -p1003.1g | -p1003.2 | -p1003.2-92 |
651 .  tm1 "            -iso9945-1 | -ansiC | -ansiC-89 | -isoC | -isoC-99 |
652 .  tm1 "            -iso8802-3 | -iso9899 | -ieee754 | -xpg3 | -xpg4 |
653 .  tm1 "            -xpg4.2 | -susv2] ... (#\n[.c])
657 .\" NS Lb user macro
658 .\" NS   formal library names for LIBRARY sections
659 .\" NS
660 .\" NS modifies:
661 .\" NS   doc-arg-ptr
662 .\" NS   doc-curr-font
663 .\" NS   doc-curr-size
664 .\" NS   doc-macro-name
665 .\" NS
666 .\" NS local variable:
667 .\" NS   doc-reg-Lb
668 .\" NS   doc-str-Lb
669 .\" NS   doc-str-Lb-XXX
670 .\" NS
671 .\" NS width register `Lb' defined in doc-common
673 .ds doc-str-Lb-libarm32    ARM32 Architecture Library (libarm32, \-larm32)
674 .ds doc-str-Lb-libc        Standard C\~Library (libc, \-lc)
675 .ds doc-str-Lb-libcompat   Compatibility Library (libcompat, \-lcompat)
676 .ds doc-str-Lb-libcrypt    Crypt Library (libcrypt, \-lcrypt)
677 .ds doc-str-Lb-libcurses   Curses Library (libcurses, \-lcurses)
678 .ds doc-str-Lb-libedit     Command Line Editor Library (libedit, \-ledit)
679 .ds doc-str-Lb-libi386     i386 Architecture Library (libi386, \-li386)
680 .ds doc-str-Lb-libipsec    IPsec Policy Control Library (libipsec, \-lipsec)
681 .ds doc-str-Lb-libkvm      Kernel Data Access Library (libkvm, \-lkvm)
682 .ds doc-str-Lb-libm        Math Library (libm, \-lm)
683 .ds doc-str-Lb-libmenu     Curses Menu Library (libmenu, \-lmenu)
684 .ds doc-str-Lb-libossaudio OSS Audio Emulation Library (libossaudio, \-lossaudio)
685 .ds doc-str-Lb-libposix    \*[Px] Compatibility Library (libposix, \-lposix)
686 .ds doc-str-Lb-libresolv   DNS Resolver Library (libresolv, \-lresolv)
687 .ds doc-str-Lb-libtermcap  Termcap Access Library (libtermcap, \-ltermcap)
688 .ds doc-str-Lb-libutil     System Utilities Library (libutil, \-lutil)
689 .ds doc-str-Lb-libz        Compression Library (libz, \-lz)
691 .de Lb
692 .  if !\n[doc-arg-limit] \{\
693 .    ie \n[.$] \{\
694 .      ds doc-macro-name Lb
695 .      doc-parse-args \$@
696 .    \}
697 .    el \
698 .      tm Usage: .Lb library_name ... (#\n[.c])
699 .  \}
701 .  if \n[doc-arg-limit] \{\
702 .    nr doc-arg-ptr +1
703 .    ie (\n[doc-arg-limit] >= \n[doc-arg-ptr]) \{\
704 .      ie d doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]] \
705 .        ds doc-str-Lb "\*[doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]]]
706 .      el \{\
707 .        tmc "mdoc warning: .Lb: no description for library
708 .        tm1 " `\*[doc-arg\n[doc-arg-ptr]]' available (#\n[.c])
709 .        ds doc-str-Lb library \*[Lq]\*[doc-arg\n[doc-arg-ptr]]\*[Rq]
710 .      \}
712 .      \" replacing argument with result
713 .      ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Lb]
715 .      doc-print-recursive
716 .    \}
717 .    el \{\
718 .      tm Usage: .Lb library_name ... (#\n[.c])
719 .      doc-reset-args
720 .  \}\}
726 .\" EOF