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