fix typo
[s-roff.git] / tmac / doc-syms
blob2c4d56b2176510d86d2442168d3a5d892215d7ef
1 .\" Copyright (c) 1991, 1993
2 .\"     The Regents of the University of California.  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    8.1 (Berkeley) 06/08/93
33 .\"
34 .\"     %beginstrip%
37 .eo
39 .\" NS Ux user macro
40 .\" NS   print UNIX
41 .\" NS
42 .\" NS modifies:
43 .\" NS   doc-arg-ptr
44 .\" NS   doc-curr-font
45 .\" NS   doc-curr-size
46 .\" NS   doc-macro-name
47 .\" NS
48 .\" NS local variable:
49 .\" NS   doc-str-Ux
50 .\" NS
51 .\" NS width register `Ux' defined in doc-common
53 .de Ux
54 .  nr doc-curr-font \n[.f]
55 .  nr doc-curr-size \n[.ps]
56 .  ds doc-str-Ux \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
58 .  if !\n[doc-arg-limit] \
59 .    if \n[.$] \{\
60 .      ds doc-macro-name Ux
61 .      doc-parse-args \$@
62 .    \}
64 .  \" replace current argument with result
65 .  ds doc-arg\n[doc-arg-ptr] \*[doc-Tn-font-size]UNIX\*[doc-str-Ux]
66 .  nr doc-type\n[doc-arg-ptr] 2
67 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
69 .  \" recompute space vector for remaining arguments
70 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
71 .  nr doc-arg-limit \n[doc-arg-ptr]
72 .  if \n[doc-num-args] \
73 .    doc-parse-space-vector
75 .  doc-print-recursive
79 .\" NS Bx user macro
80 .\" NS   print BSD (fix smaller nroff version)
81 .\" NS
82 .\" NS modifies:
83 .\" NS   doc-arg-ptr
84 .\" NS   doc-curr-font
85 .\" NS   doc-curr-size
86 .\" NS   doc-macro-name
87 .\" NS
88 .\" NS local variable:
89 .\" NS   doc-str-Bx
90 .\" NS   doc-str-Bx1
91 .\" NS   doc-str-Bx-XXX
92 .\" NS
93 .\" NS width register `Bx' defined in doc-common
95 .ds doc-str-Bx-Reno  \-Reno
96 .ds doc-str-Bx-reno  \-Reno
97 .ds doc-str-Bx-Tahoe \-Tahoe
98 .ds doc-str-Bx-tahoe \-Tahoe
99 .ds doc-str-Bx-Lite  \-Lite
100 .ds doc-str-Bx-lite  \-Lite
101 .ds doc-str-Bx-Lite2 \-Lite2
102 .ds doc-str-Bx-lite2 \-Lite2
104 .de Bx
105 .  nr doc-curr-font \n[.f]
106 .  nr doc-curr-size \n[.ps]
107 .  ds doc-str-Bx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
109 .  \" default value if no argument
110 .  ds doc-str-Bx1 \*[doc-Tn-font-size]BSD\*[doc-str-Bx]
112 .  if !\n[doc-arg-limit] \
113 .    if \n[.$] \{\
114 .      ds doc-macro-name Bx
115 .      doc-parse-args \$@
116 .    \}
118 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
119 .    nr doc-arg-ptr +1
120 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
121 .      ie        "\*[doc-arg\n[doc-arg-ptr]]"-alpha" \
122 .        as doc-str-Bx1 " (currently in alpha test)
123 .      el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-beta" \
124 .        as doc-str-Bx1 " (currently in beta test)
125 .      el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-devel" \
126 .        as doc-str-Bx1 " (currently under development)
127 .      el \{\
128 .        ds doc-str-Bx1 \&\*[doc-arg\n[doc-arg-ptr]]\^\*[doc-Tn-font-size]
129 .        as doc-str-Bx1 BSD\*[doc-str-Bx]
131 .        if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
132 .          nr doc-arg-ptr +1
133 .          ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
134 .            ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
135 .              ie d doc-str-Bx-\*[doc-arg\n[doc-arg-ptr]] \
136 .                as doc-str-Bx1 "\*[doc-str-Bx-\*[doc-arg\n[doc-arg-ptr]]]
137 .              el \
138 .                nr doc-arg-ptr -1
139 .            \}
140 .            el \
141 .              nr doc-arg-ptr -1
142 .          \}
143 .          el \
144 .            nr doc-arg-ptr -1
145 .    \}\}\}\}\}
146 .    el \
147 .      nr doc-arg-ptr -1
148 .  \}
150 .  \" replace current argument with result
151 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Bx1]
152 .  nr doc-type\n[doc-arg-ptr] 2
153 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
155 .  \" recompute space vector for remaining arguments
156 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
157 .  nr doc-arg-limit \n[doc-arg-ptr]
158 .  if \n[doc-num-args] \
159 .    doc-parse-space-vector
161 .  doc-print-recursive
165 .\" NS Ud user macro (not parsed, not callable)
166 .\" NS   print "currently under development" (HISTORY section)
167 .\" NS
168 .\" NS width register `Ud' defined in doc-common
170 .de Ud
171 .  nop \&currently under development.
175 .\" NS At user macro
176 .\" NS   print AT&T UNIX
177 .\" NS
178 .\" NS modifies:
179 .\" NS   doc-arg-ptr
180 .\" NS   doc-curr-font
181 .\" NS   doc-curr-size
182 .\" NS   doc-macro-name
183 .\" NS
184 .\" NS local variable:
185 .\" NS   doc-str-At
186 .\" NS   doc-str-At1
187 .\" NS   doc-str-At-XXX
188 .\" NS
189 .\" NS width register `At' defined in doc-common
191 .ds doc-str-At-32v \&Version\~32V
192 .as doc-str-At-32v " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
193 .ds doc-str-At-v1  \&Version\~1
194 .as doc-str-At-v1  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
195 .ds doc-str-At-v2  \&Version\~2
196 .as doc-str-At-v2  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
197 .ds doc-str-At-v3  \&Version\~3
198 .as doc-str-At-v3  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
199 .ds doc-str-At-v4  \&Version\~4
200 .as doc-str-At-v4  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
201 .ds doc-str-At-v5  \&Version\~5
202 .as doc-str-At-v5  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
203 .ds doc-str-At-v6  \&Version\~6
204 .as doc-str-At-v6  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
205 .ds doc-str-At-v7  \&Version\~7
206 .as doc-str-At-v7  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
207 .ds doc-str-At-V   \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V
208 .as doc-str-At-V   " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
209 .ds doc-str-At-V.1 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.1
210 .as doc-str-At-V.1 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
211 .ds doc-str-At-V.2 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.2
212 .as doc-str-At-V.2 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
213 .ds doc-str-At-V.4 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.4
214 .as doc-str-At-V.4 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
216 .de At
217 .  nr doc-curr-font \n[.f]
218 .  nr doc-curr-size \n[.ps]
219 .  ds doc-str-At \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
221 .  \" default value if no argument
222 .  ds doc-str-At1 \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
224 .  if !\n[doc-arg-limit] \
225 .    if \n[.$] \{\
226 .      ds doc-macro-name At
227 .      doc-parse-args \$@
228 .    \}
230 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
231 .    nr doc-arg-ptr +1
232 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
233 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
234 .        ie d doc-str-At-\*[doc-arg\n[doc-arg-ptr]] \
235 .          ds doc-str-At1 "\*[doc-str-At-\*[doc-arg\n[doc-arg-ptr]]]
236 .        el \{\
237 .          tmc mdoc warning: .At: Unknown AT&T UNIX version
238 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
239 .          nr doc-arg-ptr -1
240 .      \}\}
241 .      el \
242 .        nr doc-arg-ptr -1
243 .    \}
244 .    el \
245 .      nr doc-arg-ptr -1
246 .  \}
248 .  \" replace current argument with result
249 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-At1]
250 .  nr doc-type\n[doc-arg-ptr] 2
251 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
253 .  \" recompute space vector for remaining arguments
254 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
255 .  nr doc-arg-limit \n[doc-arg-ptr]
256 .  if \n[doc-num-args] \
257 .    doc-parse-space-vector
259 .  doc-print-recursive
263 .\" NS Fx user macro
264 .\" NS   print FreeBSD
265 .\" NS
266 .\" NS modifies:
267 .\" NS   doc-arg-ptr
268 .\" NS   doc-curr-font
269 .\" NS   doc-curr-size
270 .\" NS   doc-macro-name
271 .\" NS
272 .\" NS local variable:
273 .\" NS   doc-str-Fx
274 .\" NS   doc-str-Fx1
275 .\" NS
276 .\" NS width register `Fx' defined in doc-common
278 .\" we use the doc-operating-system-FreeBSD-* strings defined in doc-common
280 .de Fx
281 .  nr doc-curr-font \n[.f]
282 .  nr doc-curr-size \n[.ps]
283 .  ds doc-str-Fx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
285 .  \" default value if no argument
286 .  ds doc-str-Fx1 \*[doc-Tn-font-size]\%FreeBSD\*[doc-str-Fx]
288 .  if !\n[doc-arg-limit] \
289 .    if \n[.$] \{\
290 .      ds doc-macro-name Fx
291 .      doc-parse-args \$@
292 .    \}
294 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
295 .    nr doc-arg-ptr +1
296 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
297 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
298 .        ie d doc-operating-system-FreeBSD-\*[doc-arg\n[doc-arg-ptr]] \
299 .          as doc-str-Fx1 \~\*[doc-operating-system-FreeBSD-\*[doc-arg\n[doc-arg-ptr]]]
300 .        el \{\
301 .          tmc mdoc warning: .Fx: Unknown FreeBSD version
302 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
303 .          as doc-str-Fx1 \~\*[doc-arg\n[doc-arg-ptr]]
304 .      \}\}
305 .      el \
306 .        as doc-str-Fx1 \~\*[doc-arg\n[doc-arg-ptr]]
307 .    \}
308 .    el \
309 .      nr doc-arg-ptr -1
310 .  \}
312 .  \" replace current argument with result
313 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Fx1]
314 .  nr doc-type\n[doc-arg-ptr] 2
315 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
317 .  \" recompute space vector for remaining arguments
318 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
319 .  nr doc-arg-limit \n[doc-arg-ptr]
320 .  if \n[doc-num-args] \
321 .    doc-parse-space-vector
323 .  doc-print-recursive
327 .\" NS Nx user macro
328 .\" NS   print NetBSD
329 .\" NS
330 .\" NS modifies:
331 .\" NS   doc-arg-ptr
332 .\" NS   doc-curr-font
333 .\" NS   doc-curr-size
334 .\" NS   doc-macro-name
335 .\" NS
336 .\" NS local variable:
337 .\" NS   doc-str-Nx
338 .\" NS   doc-str-Nx1
339 .\" NS
340 .\" NS width register `Nx' defined in doc-common
342 .\" we use the doc-operating-system-NetBSD-* strings defined in doc-common
344 .de Nx
345 .  nr doc-curr-font \n[.f]
346 .  nr doc-curr-size \n[.ps]
347 .  ds doc-str-Nx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
349 .  \" default value if no argument
350 .  ds doc-str-Nx1 \*[doc-Tn-font-size]\%N\s[\n[doc-curr-size]u]et
351 .  as doc-str-Nx1 \*[doc-Tn-font-size]BSD\*[doc-str-Nx]
353 .  if !\n[doc-arg-limit] \
354 .    if \n[.$] \{\
355 .      ds doc-macro-name Nx
356 .      doc-parse-args \$@
357 .    \}
359 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
360 .    nr doc-arg-ptr +1
361 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
362 .      ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
363 .        ie d doc-operating-system-NetBSD-\*[doc-arg\n[doc-arg-ptr]] \
364 .          as doc-str-Nx1 \~\*[doc-operating-system-NetBSD-\*[doc-arg\n[doc-arg-ptr]]]
365 .        el \{\
366 .          tmc mdoc warning: .Nx: Unknown NetBSD version
367 .          tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
368 .          as doc-str-Nx1 \~\*[doc-arg\n[doc-arg-ptr]]
369 .      \}\}
370 .      el \
371 .        as doc-str-Nx1 \~\*[doc-arg\n[doc-arg-ptr]]
372 .    \}
373 .    el \
374 .      nr doc-arg-ptr -1
375 .  \}
377 .  \" replace current argument with result
378 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Nx1]
379 .  nr doc-type\n[doc-arg-ptr] 2
380 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
382 .  \" recompute space vector for remaining arguments
383 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
384 .  nr doc-arg-limit \n[doc-arg-ptr]
385 .  if \n[doc-num-args] \
386 .    doc-parse-space-vector
388 .  doc-print-recursive
392 .\" NS Ox user macro
393 .\" NS   print OpenBSD
394 .\" NS
395 .\" NS modifies:
396 .\" NS   doc-arg-ptr
397 .\" NS   doc-curr-font
398 .\" NS   doc-curr-size
399 .\" NS   doc-macro-name
400 .\" NS
401 .\" NS local variable:
402 .\" NS   doc-str-Ox
403 .\" NS   doc-str-Ox1
404 .\" NS
405 .\" NS width register `Ox' defined in doc-common
407 .de Ox
408 .  nr doc-curr-font \n[.f]
409 .  nr doc-curr-size \n[.ps]
410 .  ds doc-str-Ox \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
412 .  \" default value if no argument
413 .  ds doc-str-Ox1 \*[doc-Tn-font-size]\%OpenBSD\*[doc-str-Ox]
415 .  if !\n[doc-arg-limit] \
416 .    if \n[.$] \{\
417 .      ds doc-macro-name Ox
418 .      doc-parse-args \$@
419 .    \}
421 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
422 .    nr doc-arg-ptr +1
423 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
424 .      as doc-str-Ox1 \~\*[doc-arg\n[doc-arg-ptr]]
425 .    el \
426 .      nr doc-arg-ptr -1
427 .  \}
429 .  \" replace current argument with result
430 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Ox1]
431 .  nr doc-type\n[doc-arg-ptr] 2
432 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
434 .  \" recompute space vector for remaining arguments
435 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
436 .  nr doc-arg-limit \n[doc-arg-ptr]
437 .  if \n[doc-num-args] \
438 .    doc-parse-space-vector
440 .  doc-print-recursive
444 .\" NS Bsx user macro
445 .\" NS   print BSD/OS
446 .\" NS
447 .\" NS modifies:
448 .\" NS   doc-arg-ptr
449 .\" NS   doc-curr-font
450 .\" NS   doc-curr-size
451 .\" NS   doc-macro-name
452 .\" NS
453 .\" NS local variable:
454 .\" NS   doc-str-Bsx
455 .\" NS   doc-str-Bsx1
456 .\" NS
457 .\" NS width register `Bsx' defined in doc-common
459 .de Bsx
460 .  nr doc-curr-font \n[.f]
461 .  nr doc-curr-size \n[.ps]
462 .  ds doc-str-Bsx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
464 .  \" default value if no argument
465 .  ds doc-str-Bsx1 \*[doc-Tn-font-size]BSD/OS\*[doc-str-Bsx]
467 .  if !\n[doc-arg-limit] \
468 .    if \n[.$] \{\
469 .      ds doc-macro-name Bsx
470 .      doc-parse-args \$@
471 .    \}
473 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
474 .    nr doc-arg-ptr +1
475 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
476 .      as doc-str-Bsx1 \~\*[doc-arg\n[doc-arg-ptr]]
477 .    el \
478 .      nr doc-arg-ptr -1
479 .  \}
481 .  \" replace current argument with result
482 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Bsx1]
483 .  nr doc-type\n[doc-arg-ptr] 2
484 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
486 .  \" recompute space vector for remaining arguments
487 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
488 .  nr doc-arg-limit \n[doc-arg-ptr]
489 .  if \n[doc-num-args] \
490 .    doc-parse-space-vector
492 .  doc-print-recursive
496 .\" The Bt macro should go away now
498 .\" NS Bt user macro (not parsed, not callable)
499 .\" NS   print "is currently in beta test." (HISTORY section)
500 .\" NS
501 .\" NS width register `Bt' defined in doc-common
503 .de Bt
504 .  nop \&is currently in beta test.
508 .\" NS Px user macro
509 .\" NS   print POSIX
511 .ds Px \*[doc-Tn-font-size]\%POSIX
514 .\" NS Ai user macro
515 .\" NS   print ANSI
517 .ds Ai \*[doc-Tn-font-size]\%ANSI
520 .\" NS St user macro
521 .\" NS   standards (posix, ansi - formal standard names)
522 .\" NS
523 .\" NS modifies:
524 .\" NS   doc-arg-ptr
525 .\" NS   doc-curr-font
526 .\" NS   doc-curr-size
527 .\" NS   doc-macro-name
528 .\" NS
529 .\" NS local variable:
530 .\" NS   doc-reg-St
531 .\" NS   doc-str-St
532 .\" NS   doc-str-St1
533 .\" NS   doc-str-St-XXX
534 .\" NS
535 .\" NS width register `St' defined in doc-common
537 .\" ANSI/ISO C
538 .ds doc-str-St--ansiC-89       \*[Ai] \*[doc-str-St]X\^3.159-1989
539 .as doc-str-St--ansiC-89       " (\*[Lq]\)\*[Ai]\~C\*[doc-str-St]\*[Rq])
540 .als doc-str-St--ansiC doc-str-St--ansiC-89
541 .ds doc-str-St--isoC           \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:1990
542 .as doc-str-St--isoC           " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^89\*[doc-str-St]\*[Rq])
543 .ds doc-str-St--isoC-99        \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:1999
544 .as doc-str-St--isoC-99        " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^99\*[doc-str-St]\*[Rq])
546 .\" POSIX Part 1: System API
547 .ds doc-str-St--p1003.1        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1
548 .as doc-str-St--p1003.1        " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
549 .ds doc-str-St--p1003.1-88     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-1988
550 .as doc-str-St--p1003.1-88     " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
551 .ds doc-str-St--p1003.1-90     \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-1:1990
552 .as doc-str-St--p1003.1-90     " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
553 .als doc-str-St--iso9945-1-90 doc-str-St--p1003.1-90
554 .ds doc-str-St--p1003.1b-93    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1b-1993
555 .as doc-str-St--p1003.1b-93    " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
556 .ds doc-str-St--p1003.1c-95    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1c-1995
557 .as doc-str-St--p1003.1c-95    " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
558 .ds doc-str-St--p1003.1i-95    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1i-1995
559 .as doc-str-St--p1003.1i-95    " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
560 .ds doc-str-St--p1003.1-96     \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-1:1996
561 .as doc-str-St--p1003.1-96     " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
562 .als doc-str-St--iso9945-1-96 doc-str-St--p1003.1-96
563 .ds doc-str-St--p1003.1g-2000  \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1g-2000
564 .as doc-str-St--p1003.1g-2000  " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
565 .ds doc-str-St--p1003.1-2001   \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-2001
566 .as doc-str-St--p1003.1-2001   " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
568 .\" POSIX Part 2: Shell and Utilities
569 .ds doc-str-St--p1003.2        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2
570 .as doc-str-St--p1003.2        " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
571 .ds doc-str-St--p1003.2-92     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2-1992
572 .as doc-str-St--p1003.2-92     " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
573 .ds doc-str-St--p1003.2a-92    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2a-1992
574 .as doc-str-St--p1003.2a-92    " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
575 .ds doc-str-St--iso9945-2-93   \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-2:1993
576 .as doc-str-St--iso9945-2-93   " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
578 .\" X/Open
579 .ds doc-str-St--susv2          Version\~2 of the Single \*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
580 .as doc-str-St--susv2          " (\*[Lq]\*[doc-Tn-font-size]SUSv2\*[doc-str-St]\*[Rq])
581 .ds doc-str-St--svid4          System\~V Interface Definition, Fourth Edition
582 .as doc-str-St--svid4          " (\*[Lq]\*[doc-Tn-font-size]SVID\*[doc-str-St]\^4\*[Rq])
583 .ds doc-str-St--xbd5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] System Interface Definitions Issue\~5
584 .as doc-str-St--xbd5           " (\*[Lq]\*[doc-Tn-font-size]XBD\*[doc-str-St]\^5\*[Rq])
585 .ds doc-str-St--xcu5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Commands and Utilities Issue\~5
586 .as doc-str-St--xcu5           " (\*[Lq]\*[doc-Tn-font-size]XCU\*[doc-str-St]\^5\*[Rq])
587 .ds doc-str-St--xcurses4.2     \*[doc-Tn-font-size]X/Open\*[doc-str-St] Curses Issue\~4.2
588 .as doc-str-St--xcurses4.2     " (\*[Lq]\*[doc-Tn-font-size]XCURSES\*[doc-str-St]\^4.2\*[Rq])
589 .ds doc-str-St--xns5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Networking Services Issue\~5
590 .as doc-str-St--xns5           " (\*[Lq]\*[doc-Tn-font-size]XNS\*[doc-str-St]\^5\*[Rq])
591 .ds doc-str-St--xns5.2         \*[doc-Tn-font-size]X/Open\*[doc-str-St] Networking Services Issue\~5.2
592 .as doc-str-St--xns5.2         " (\*[Lq]\*[doc-Tn-font-size]XNS\*[doc-str-St]\^5.2\*[Rq])
593 .ds doc-str-St--xpg3           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~3
594 .as doc-str-St--xpg3           " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^3\*[Rq])
595 .ds doc-str-St--xpg4           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4
596 .as doc-str-St--xpg4           " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^4\*[Rq])
597 .ds doc-str-St--xpg4.2         \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4.2
598 .as doc-str-St--xpg4.2         " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^4.2\*[Rq])
599 .ds doc-str-St--xsh5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] System Interfaces and Headers Issue\~5
600 .as doc-str-St--xsh5           " (\*[Lq]\*[doc-Tn-font-size]XSH\*[doc-str-St]\^5\*[Rq])
602 .\" Miscellaneous
603 .ds doc-str-St--ieee754        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 754-1985
604 .ds doc-str-St--iso8802-3      \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 8802-3:1989
606 .de St
607 .  if !\n[doc-arg-limit] \{\
608 .    ie \n[.$] \{\
609 .      ds doc-macro-name St
610 .      doc-parse-args \$@
611 .    \}
612 .    el \
613 .      doc-St-usage
614 .  \}
616 .  if !\n[doc-arg-limit] \
617 .    return
619 .  nr doc-arg-ptr +1
620 .  ie (\n[doc-arg-limit] >= \n[doc-arg-ptr]) \{\
621 .    nr doc-curr-font \n[.f]
622 .    nr doc-curr-size \n[.ps]
623 .    ds doc-str-St \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
625 .    ds doc-str-St1
626 .    ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
627 .      ie d doc-str-St-\*[doc-arg\n[doc-arg-ptr]] \
628 .        ds doc-str-St1 "\*[doc-str-St-\*[doc-arg\n[doc-arg-ptr]]]
629 .      el \{\
630 .        tmc "mdoc warning: .St: Unknown standard abbreviation
631 .        tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
632 .        tm1 "              Please refer to the groff_mdoc(7) manpage for a
633 .        tm1 "              list of available standard abbreviations.
634 .    \}\}
635 .    el \
636 .      doc-St-usage
638 .    \" replacing argument with result
639 .    ds doc-arg\n[doc-arg-ptr] "\*[doc-str-St1]
641 .    doc-print-recursive
642 .  \}
643 .  el \{\
644 .    doc-St-usage
645 .    doc-reset-args
646 .  \}
650 .\" NS doc-St-usage macro
652 .de doc-St-usage
653 .  tm1 "Usage: .St standard (#\n[.c])
654 .  tm1 "       Please refer to the groff_mdoc(7) manpage for a list of
655 .  tm1 "       available standard abbreviations.
659 .\" NS Lb user macro
660 .\" NS   formal library names for LIBRARY sections
661 .\" NS
662 .\" NS modifies:
663 .\" NS   doc-arg-ptr
664 .\" NS   doc-curr-font
665 .\" NS   doc-curr-size
666 .\" NS   doc-macro-name
667 .\" NS
668 .\" NS local variable:
669 .\" NS   doc-reg-Lb
670 .\" NS   doc-str-Lb
671 .\" NS   doc-str-Lb-XXX
672 .\" NS
673 .\" NS width register `Lb' defined in doc-common
675 .ds doc-str-Lb-libarm32    ARM32 Architecture Library (libarm32, \-larm32)
676 .ds doc-str-Lb-libc        Standard C\~Library (libc, \-lc)
677 .ds doc-str-Lb-libcompat   Compatibility Library (libcompat, \-lcompat)
678 .ds doc-str-Lb-libcrypt    Crypt Library (libcrypt, \-lcrypt)
679 .ds doc-str-Lb-libcurses   Curses Library (libcurses, \-lcurses)
680 .ds doc-str-Lb-libedit     Command Line Editor Library (libedit, \-ledit)
681 .ds doc-str-Lb-libi386     i386 Architecture Library (libi386, \-li386)
682 .ds doc-str-Lb-libipsec    IPsec Policy Control Library (libipsec, \-lipsec)
683 .ds doc-str-Lb-libkvm      Kernel Data Access Library (libkvm, \-lkvm)
684 .ds doc-str-Lb-libm        Math Library (libm, \-lm)
685 .ds doc-str-Lb-libmenu     Curses Menu Library (libmenu, \-lmenu)
686 .ds doc-str-Lb-libossaudio OSS Audio Emulation Library (libossaudio, \-lossaudio)
687 .ds doc-str-Lb-libposix    \*[Px] Compatibility Library (libposix, \-lposix)
688 .ds doc-str-Lb-libresolv   DNS Resolver Library (libresolv, \-lresolv)
689 .ds doc-str-Lb-libtermcap  Termcap Access Library (libtermcap, \-ltermcap)
690 .ds doc-str-Lb-libutil     System Utilities Library (libutil, \-lutil)
691 .ds doc-str-Lb-libz        Compression Library (libz, \-lz)
693 .de Lb
694 .  if !\n[doc-arg-limit] \{\
695 .    ie \n[.$] \{\
696 .      ds doc-macro-name Lb
697 .      doc-parse-args \$@
698 .    \}
699 .    el \
700 .      tm Usage: .Lb library_name ... (#\n[.c])
701 .  \}
703 .  if !\n[doc-arg-limit] \
704 .    return
706 .  nr doc-arg-ptr +1
707 .  ie (\n[doc-arg-limit] >= \n[doc-arg-ptr]) \{\
708 .    ie d doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]] \
709 .      ds doc-str-Lb "\*[doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]]]
710 .    el \{\
711 .      tmc "mdoc warning: .Lb: no description for library
712 .      tm1 " `\*[doc-arg\n[doc-arg-ptr]]' available (#\n[.c])
713 .      ds doc-str-Lb library \*[Lq]\*[doc-arg\n[doc-arg-ptr]]\*[Rq]
714 .    \}
716 .    \" replacing argument with result
717 .    ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Lb]
719 .    if \n[doc-in-library-section] \
720 .      br
721 .    doc-print-recursive
722 .    if \n[doc-in-library-section] \
723 .      br
724 .  \}
725 .  el \{\
726 .    tm Usage: .Lb library_name ... (#\n[.c])
727 .    doc-reset-args
728 .  \}
734 .\" EOF