Update to groff 1.19.2.
[dragonfly.git] / contrib / groff-1.19 / 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. [Deleted.  See
13 .\"     ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change]
14 .\" 4. Neither the name of the University nor the names of its contributors
15 .\"    may be used to endorse or promote products derived from this software
16 .\"    without specific prior written permission.
17 .\"
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 .\" SUCH DAMAGE.
29 .\"
30 .\"     @(#)doc-syms    8.1 (Berkeley) 06/08/93
31 .\"
32 .\"     %beginstrip%
33 .
34 .
35 .eo
36 .
37 .\" NS Ux user macro
38 .\" NS   print UNIX
39 .\" NS
40 .\" NS modifies:
41 .\" NS   doc-arg-ptr
42 .\" NS   doc-curr-font
43 .\" NS   doc-curr-size
44 .\" NS   doc-macro-name
45 .\" NS
46 .\" NS local variable:
47 .\" NS   doc-str-Ux
48 .\" NS
49 .\" NS width register `Ux' defined in doc-common
50 .
51 .de Ux
52 .  nr doc-curr-font \n[.f]
53 .  nr doc-curr-size \n[.ps]
54 .  ds doc-str-Ux \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
55 .
56 .  if !\n[doc-arg-limit] \
57 .    if \n[.$] \{\
58 .      ds doc-macro-name Ux
59 .      doc-parse-args \$@
60 .    \}
61 .
62 .  \" replace current argument with result
63 .  ds doc-arg\n[doc-arg-ptr] \*[doc-Tn-font-size]UNIX\*[doc-str-Ux]
64 .  nr doc-type\n[doc-arg-ptr] 2
65 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
66 .
67 .  \" recompute space vector for remaining arguments
68 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
69 .  nr doc-arg-limit \n[doc-arg-ptr]
70 .  if \n[doc-num-args] \
71 .    doc-parse-space-vector
72 .
73 .  doc-print-recursive
74 ..
75 .
76 .
77 .\" NS Bx user macro
78 .\" NS   print BSD (fix smaller nroff version)
79 .\" NS
80 .\" NS modifies:
81 .\" NS   doc-arg-ptr
82 .\" NS   doc-curr-font
83 .\" NS   doc-curr-size
84 .\" NS   doc-macro-name
85 .\" NS
86 .\" NS local variable:
87 .\" NS   doc-str-Bx
88 .\" NS   doc-str-Bx1
89 .\" NS   doc-str-Bx-XXX
90 .\" NS
91 .\" NS width register `Bx' defined in doc-common
92 .
93 .ds doc-str-Bx-Reno  \-Reno
94 .ds doc-str-Bx-reno  \-Reno
95 .ds doc-str-Bx-Tahoe \-Tahoe
96 .ds doc-str-Bx-tahoe \-Tahoe
97 .ds doc-str-Bx-Lite  \-Lite
98 .ds doc-str-Bx-lite  \-Lite
99 .ds doc-str-Bx-Lite2 \-Lite2
100 .ds doc-str-Bx-lite2 \-Lite2
101 .
102 .de Bx
103 .  nr doc-curr-font \n[.f]
104 .  nr doc-curr-size \n[.ps]
105 .  ds doc-str-Bx \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
106 .
107 .  \" default value if no argument
108 .  ds doc-str-Bx1 \*[doc-Tn-font-size]BSD\*[doc-str-Bx]
109 .
110 .  if !\n[doc-arg-limit] \
111 .    if \n[.$] \{\
112 .      ds doc-macro-name Bx
113 .      doc-parse-args \$@
114 .    \}
115 .
116 .  if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
117 .    nr doc-arg-ptr +1
118 .    ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
119 .      ie        "\*[doc-arg\n[doc-arg-ptr]]"-alpha" \
120 .        as doc-str-Bx1 " (currently in alpha test)
121 .      el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-beta" \
122 .        as doc-str-Bx1 " (currently in beta test)
123 .      el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-devel" \
124 .        as doc-str-Bx1 " (currently under development)
125 .      el \{\
126 .        ds doc-str-Bx1 \&\*[doc-arg\n[doc-arg-ptr]]\^\*[doc-Tn-font-size]
127 .        as doc-str-Bx1 BSD\*[doc-str-Bx]
128 .
129 .        if (\n[doc-arg-limit] > \n[doc-arg-ptr]) \{\
130 .          nr doc-arg-ptr +1
131 .          ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
132 .            ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
133 .              ie d doc-str-Bx-\*[doc-arg\n[doc-arg-ptr]] \
134 .                as doc-str-Bx1 "\*[doc-str-Bx-\*[doc-arg\n[doc-arg-ptr]]]
135 .              el \
136 .                nr doc-arg-ptr -1
137 .            \}
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 .
148 .  \" replace current argument with result
149 .  ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Bx1]
150 .  nr doc-type\n[doc-arg-ptr] 2
151 .  ds doc-space\n[doc-arg-ptr] "\*[doc-space]
152 .
153 .  \" recompute space vector for remaining arguments
154 .  nr doc-num-args (\n[doc-arg-limit] - \n[doc-arg-ptr])
155 .  nr doc-arg-limit \n[doc-arg-ptr]
156 .  if \n[doc-num-args] \
157 .    doc-parse-space-vector
158 .
159 .  doc-print-recursive
160 ..
161 .
162 .
163 .\" NS Ud user macro (not parsed, not callable)
164 .\" NS   print "currently under development" (HISTORY section)
165 .\" NS
166 .\" NS width register `Ud' defined in doc-common
167 .
168 .de Ud
169 .  nop \&currently under development.
170 ..
171 .
172 .
173 .\" NS At user macro
174 .\" NS   print AT&T UNIX
175 .\" NS
176 .\" NS modifies:
177 .\" NS   doc-arg-ptr
178 .\" NS   doc-curr-font
179 .\" NS   doc-curr-size
180 .\" NS   doc-macro-name
181 .\" NS
182 .\" NS local variable:
183 .\" NS   doc-str-At
184 .\" NS   doc-str-At1
185 .\" NS   doc-str-At-XXX
186 .\" NS
187 .\" NS width register `At' defined in doc-common
188 .
189 .ds doc-str-At-32v \&Version\~32V
190 .as doc-str-At-32v " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
191 .ds doc-str-At-v1  \&Version\~1
192 .as doc-str-At-v1  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
193 .ds doc-str-At-v2  \&Version\~2
194 .as doc-str-At-v2  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
195 .ds doc-str-At-v3  \&Version\~3
196 .as doc-str-At-v3  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
197 .ds doc-str-At-v4  \&Version\~4
198 .as doc-str-At-v4  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
199 .ds doc-str-At-v5  \&Version\~5
200 .as doc-str-At-v5  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
201 .ds doc-str-At-v6  \&Version\~6
202 .as doc-str-At-v6  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
203 .ds doc-str-At-v7  \&Version\~7
204 .as doc-str-At-v7  " \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
205 .ds doc-str-At-V   \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V
206 .as doc-str-At-V   " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
207 .ds doc-str-At-V.1 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.1
208 .as doc-str-At-V.1 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
209 .ds doc-str-At-V.2 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.2
210 .as doc-str-At-V.2 " \*[doc-Tn-font-size]UNIX\*[doc-str-At]
211 .ds doc-str-At-V.3 \*[doc-Tn-font-size]AT&T\*[doc-str-At] System\~V.3
212 .as doc-str-At-V.3 " \*[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]
215 .
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]
220 .
221 .  \" default value if no argument
222 .  ds doc-str-At1 \*[doc-Tn-font-size]AT&T UNIX\*[doc-str-At]
223 .
224 .  if !\n[doc-arg-limit] \
225 .    if \n[.$] \{\
226 .      ds doc-macro-name At
227 .      doc-parse-args \$@
228 .    \}
229 .
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 .  \}
247 .
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]
252 .
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
258 .
259 .  doc-print-recursive
260 ..
261 .
262 .
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
277 .
278 .\" we use the doc-operating-system-FreeBSD-* strings defined in doc-common
279 .
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]
284 .
285 .  \" default value if no argument
286 .  ds doc-str-Fx1 \*[doc-Tn-font-size]\%FreeBSD\*[doc-str-Fx]
287 .
288 .  if !\n[doc-arg-limit] \
289 .    if \n[.$] \{\
290 .      ds doc-macro-name Fx
291 .      doc-parse-args \$@
292 .    \}
293 .
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 .  \}
311 .
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]
316 .
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
322 .
323 .  doc-print-recursive
324 ..
325 .
326 .
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
341 .
342 .\" we use the doc-operating-system-NetBSD-* strings defined in doc-common
343 .
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]
348 .
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]
352 .
353 .  if !\n[doc-arg-limit] \
354 .    if \n[.$] \{\
355 .      ds doc-macro-name Nx
356 .      doc-parse-args \$@
357 .    \}
358 .
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 .  \}
376 .
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]
381 .
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
387 .
388 .  doc-print-recursive
389 ..
390 .
391 .
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
406 .
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]
411 .
412 .  \" default value if no argument
413 .  ds doc-str-Ox1 \*[doc-Tn-font-size]\%OpenBSD\*[doc-str-Ox]
414 .
415 .  if !\n[doc-arg-limit] \
416 .    if \n[.$] \{\
417 .      ds doc-macro-name Ox
418 .      doc-parse-args \$@
419 .    \}
420 .
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 .  \}
428 .
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]
433 .
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
439 .
440 .  doc-print-recursive
441 ..
442 .
443 .
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
458 .
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]
463 .
464 .  \" default value if no argument
465 .  ds doc-str-Bsx1 \*[doc-Tn-font-size]BSD/OS\*[doc-str-Bsx]
466 .
467 .  if !\n[doc-arg-limit] \
468 .    if \n[.$] \{\
469 .      ds doc-macro-name Bsx
470 .      doc-parse-args \$@
471 .    \}
472 .
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 .  \}
480 .
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]
485 .
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
491 .
492 .  doc-print-recursive
493 ..
494 .
495 .
496 .\" The Bt macro should go away now
497 .
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
502 .
503 .de Bt
504 .  nop \&is currently in beta test.
505 ..
506 .
507 .
508 .\" NS Px user macro
509 .\" NS   print POSIX
510 .
511 .ds Px \*[doc-Tn-font-size]\%POSIX
512 .
513 .
514 .\" NS Ai user macro
515 .\" NS   print ANSI
516 .
517 .ds Ai \*[doc-Tn-font-size]\%ANSI
518 .
519 .
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
536 .
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]\~C89\*[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\^90\*[doc-str-St]\*[Rq])
543 .als doc-str-St--isoC-90 doc-str-St--isoC
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 .ds doc-str-St--p1003.1-2004   \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1-2004
569 .as doc-str-St--p1003.1-2004   " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
570 .
571 .\" POSIX Part 2: Shell and Utilities
572 .ds doc-str-St--p1003.2        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2
573 .as doc-str-St--p1003.2        " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
574 .ds doc-str-St--p1003.2-92     \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2-1992
575 .as doc-str-St--p1003.2-92     " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
576 .ds doc-str-St--p1003.2a-92    \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.2a-1992
577 .as doc-str-St--p1003.2a-92    " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
578 .ds doc-str-St--iso9945-2-93   \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9945-2:1993
579 .as doc-str-St--iso9945-2-93   " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
580 .
581 .\" X/Open
582 .ds doc-str-St--susv2          Version\~2 of the Single \*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
583 .as doc-str-St--susv2          " (\*[Lq]\*[doc-Tn-font-size]SUSv2\*[doc-str-St]\*[Rq])
584 .ds doc-str-St--svid4          System\~V Interface Definition, Fourth Edition
585 .as doc-str-St--svid4          " (\*[Lq]\*[doc-Tn-font-size]SVID\*[doc-str-St]\^4\*[Rq])
586 .ds doc-str-St--xbd5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] System Interface Definitions Issue\~5
587 .as doc-str-St--xbd5           " (\*[Lq]\*[doc-Tn-font-size]XBD\*[doc-str-St]\^5\*[Rq])
588 .ds doc-str-St--xcu5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Commands and Utilities Issue\~5
589 .as doc-str-St--xcu5           " (\*[Lq]\*[doc-Tn-font-size]XCU\*[doc-str-St]\^5\*[Rq])
590 .ds doc-str-St--xcurses4.2     \*[doc-Tn-font-size]X/Open\*[doc-str-St] Curses Issue\~4, Version\~2
591 .as doc-str-St--xcurses4.2     " (\*[Lq]\*[doc-Tn-font-size]XCURSES\*[doc-str-St]\^4.2\*[Rq])
592 .ds doc-str-St--xns5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Networking Services Issue\~5
593 .as doc-str-St--xns5           " (\*[Lq]\*[doc-Tn-font-size]XNS\*[doc-str-St]\^5\*[Rq])
594 .ds doc-str-St--xns5.2         \*[doc-Tn-font-size]X/Open\*[doc-str-St] Networking Services Issue\~5.2
595 .as doc-str-St--xns5.2         " (\*[Lq]\*[doc-Tn-font-size]XNS\*[doc-str-St]\^5.2\*[Rq])
596 .ds doc-str-St--xpg3           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~3
597 .as doc-str-St--xpg3           " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^3\*[Rq])
598 .ds doc-str-St--xpg4           \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4
599 .as doc-str-St--xpg4           " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^4\*[Rq])
600 .ds doc-str-St--xpg4.2         \*[doc-Tn-font-size]X/Open\*[doc-str-St] Portability Guide Issue\~4, Version\~2
601 .as doc-str-St--xpg4.2         " (\*[Lq]\*[doc-Tn-font-size]XPG\*[doc-str-St]\^4.2\*[Rq])
602 .ds doc-str-St--xsh5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] System Interfaces and Headers Issue\~5
603 .as doc-str-St--xsh5           " (\*[Lq]\*[doc-Tn-font-size]XSH\*[doc-str-St]\^5\*[Rq])
604 .
605 .\" Miscellaneous
606 .ds doc-str-St--ieee754        \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 754-1985
607 .ds doc-str-St--iso8802-3      \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 8802-3:1989
608 .
609 .de St
610 .  if !\n[doc-arg-limit] \{\
611 .    ie \n[.$] \{\
612 .      ds doc-macro-name St
613 .      doc-parse-args \$@
614 .    \}
615 .    el \
616 .      doc-St-usage
617 .  \}
618 .
619 .  if !\n[doc-arg-limit] \
620 .    return
621 .
622 .  nr doc-arg-ptr +1
623 .  ie (\n[doc-arg-limit] >= \n[doc-arg-ptr]) \{\
624 .    nr doc-curr-font \n[.f]
625 .    nr doc-curr-size \n[.ps]
626 .    ds doc-str-St \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
627 .
628 .    ds doc-str-St1
629 .    ie \A\a\*[doc-arg\n[doc-arg-ptr]]\a \{\
630 .      ie d doc-str-St-\*[doc-arg\n[doc-arg-ptr]] \
631 .        ds doc-str-St1 "\*[doc-str-St-\*[doc-arg\n[doc-arg-ptr]]]
632 .      el \{\
633 .        tmc "mdoc warning: .St: Unknown standard abbreviation
634 .        tm1 " `\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
635 .        tm1 "              Please refer to the groff_mdoc(7) manpage for a
636 .        tm1 "              list of available standard abbreviations.
637 .    \}\}
638 .    el \
639 .      doc-St-usage
640 .
641 .    \" replacing argument with result
642 .    ds doc-arg\n[doc-arg-ptr] "\*[doc-str-St1]
643 .
644 .    doc-print-recursive
645 .  \}
646 .  el \{\
647 .    doc-St-usage
648 .    doc-reset-args
649 .  \}
650 ..
651 .
652 .
653 .\" NS doc-St-usage macro
654 .
655 .de doc-St-usage
656 .  tm1 "Usage: .St standard (#\n[.c])
657 .  tm1 "       Please refer to the groff_mdoc(7) manpage for a list of
658 .  tm1 "       available standard abbreviations.
659 ..
660 .
661 .
662 .\" NS Lb user macro
663 .\" NS   formal library names for LIBRARY sections
664 .\" NS
665 .\" NS modifies:
666 .\" NS   doc-arg-ptr
667 .\" NS   doc-curr-font
668 .\" NS   doc-curr-size
669 .\" NS   doc-macro-name
670 .\" NS
671 .\" NS local variable:
672 .\" NS   doc-reg-Lb
673 .\" NS   doc-str-Lb
674 .\" NS   doc-str-Lb1
675 .\" NS   doc-str-Lb-XXX
676 .\" NS
677 .\" NS width register `Lb' defined in doc-common
678 .
679 .ds doc-str-Lb-libarm      ARM Architecture Library (libarm, \-larm)
680 .ds doc-str-Lb-libarm32    ARM32 Architecture Library (libarm32, \-larm32)
681 .ds doc-str-Lb-libc        Standard C\~Library (libc, \-lc)
682 .ds doc-str-Lb-libcdk      Curses Development Kit Library (libcdk, \-lcdk)
683 .ds doc-str-Lb-libcompat   Compatibility Library (libcompat, \-lcompat)
684 .ds doc-str-Lb-libcrypt    Crypt Library (libcrypt, \-lcrypt)
685 .ds doc-str-Lb-libcurses   Curses Library (libcurses, \-lcurses)
686 .ds doc-str-Lb-libedit     Command Line Editor Library (libedit, \-ledit)
687 .ds doc-str-Lb-libevent    Event Notification Library (libevent, \-levent)
688 .ds doc-str-Lb-libform     Curses Form Library (libform, \-lform)
689 .ds doc-str-Lb-libi386     i386 Architecture Library (libi386, \-li386)
690 .ds doc-str-Lb-libintl     Internationalized Message Handling Library (libintl, \-lintl)
691 .ds doc-str-Lb-libipsec    IPsec Policy Control Library (libipsec, \-lipsec)
692 .ds doc-str-Lb-libkvm      Kernel Data Access Library (libkvm, \-lkvm)
693 .ds doc-str-Lb-libm        Math Library (libm, \-lm)
694 .ds doc-str-Lb-libm68k     m68k Architecture Library (libm68k, \-lm68k)
695 .ds doc-str-Lb-libmagic    Magic Number Recognition Library (libmagic, \-lmagic)
696 .ds doc-str-Lb-libmenu     Curses Menu Library (libmenu, \-lmenu)
697 .ds doc-str-Lb-libossaudio OSS Audio Emulation Library (libossaudio, \-lossaudio)
698 .ds doc-str-Lb-libpam      Pluggable Authentication Module Library (libpam, \-lpam)
699 .ds doc-str-Lb-libpcap     Packet Capture Library (libpcap, \-lpcap)
700 .ds doc-str-Lb-libpci      PCI Bus Access Library (libpci, \-lpci)
701 .ds doc-str-Lb-libpmc      Performance Counters Library (libpmc, \-lpmc)
702 .ds doc-str-Lb-libposix    \*[Px] \*[doc-str-Lb]Compatibility Library (libposix, \-lposix)
703 .ds doc-str-Lb-libpthread  \*[Px] \*[doc-str-Lb]Threads Library (libpthread, \-lpthread)
704 .ds doc-str-Lb-libresolv   DNS Resolver Library (libresolv, \-lresolv)
705 .ds doc-str-Lb-librt       \*[Px] \*[doc-str-Lb]Real-time Library (librt, \-lrt)
706 .ds doc-str-Lb-libtermcap  Termcap Access Library (libtermcap, \-ltermcap)
707 .ds doc-str-Lb-libusbhid   USB Human Interface Devices Library (libusbhid, \-lusbhid)
708 .ds doc-str-Lb-libutil     System Utilities Library (libutil, \-lutil)
709 .ds doc-str-Lb-libx86_64   x86_64 Architecture Library (libx86_64, \-lx86_64)
710 .ds doc-str-Lb-libz        Compression Library (libz, \-lz)
711 .
712 .de Lb
713 .  if !\n[doc-arg-limit] \{\
714 .    ie \n[.$] \{\
715 .      ds doc-macro-name Lb
716 .      doc-parse-args \$@
717 .    \}
718 .    el \
719 .      tm Usage: .Lb library_name ... (#\n[.c])
720 .  \}
721 .
722 .  if !\n[doc-arg-limit] \
723 .    return
724 .
725 .  nr doc-arg-ptr +1
726 .  ie (\n[doc-arg-limit] >= \n[doc-arg-ptr]) \{\
727 .    nr doc-curr-font \n[.f]
728 .    nr doc-curr-size \n[.ps]
729 .    ds doc-str-Lb \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]
730 .
731 .    ie d doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]] \
732 .      ds doc-str-Lb1 "\*[doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]]]
733 .    el \{\
734 .      tmc "mdoc warning: .Lb: no description for library
735 .      tm1 " `\*[doc-arg\n[doc-arg-ptr]]' available (#\n[.c])
736 .      ds doc-str-Lb1 library \*[Lq]\*[doc-arg\n[doc-arg-ptr]]\*[Rq]
737 .    \}
738 .
739 .    \" replacing argument with result
740 .    ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Lb1]
741 .
742 .    if \n[doc-in-library-section] \
743 .      br
744 .    doc-print-recursive
745 .    if \n[doc-in-library-section] \
746 .      br
747 .  \}
748 .  el \{\
749 .    tm Usage: .Lb library_name ... (#\n[.c])
750 .    doc-reset-args
751 .  \}
752 ..
753 .
754 .
755 .ec
756 .
757 .\" EOF