Debian Codegraph @

tmac/mdoc/doc-syms

raw
1 .\" Copyright (c) 1991, 1993
2 .\" The Regents of the University of California. All rights reserved.
3 .\"
4 .\" Copyright 2001-2024 Free Software Foundation, Inc.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in
13 .\" the documentation and/or other materials provided with the
14 .\" distribution.
15 .\" 3. [Deleted. See
16 .\" ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change]
17 .\" 4. Neither the name of the University nor the names of its
18 .\" contributors may be used to endorse or promote products derived
19 .\" from this software without specific prior written permission.
20 .\"
21 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS"
22 .\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
23 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
24 .\" PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
25 .\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 .\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
28 .\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
29 .\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
31 .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" SUCH DAMAGE.
33 .\"
34 .\" @(#)doc-syms 8.1 (Berkeley) 06/08/93
35 .
36 .
37 .\" NS Ux user macro
38 .\" NS format Unix
39 .\" NS
40 .\" NS modifies:
41 .\" NS doc-arg-ptr
42 .\" NS doc-curr-font
43 .\" NS doc-macro-name
44 .\" NS
45 .\" NS local variable:
46 .\" NS doc-str-Ux
47 .\" NS
48 .\" NS width register 'Ux' defined in doc-common
49 .
50 .eo
51 .de Ux
52 . nr doc-curr-font \n[.f]
53 . ds doc-str-Ux \f[\n[doc-curr-font]]
54 .
55 . if !\n[doc-arg-count] \
56 . if \n[.$] \{\
57 . ds doc-macro-name Ux
58 . doc-parse-args \$@
59 . \}
60 .
61 . \" replace current argument with result
62 . ds doc-arg\n[doc-arg-ptr] Unix\*[doc-str-Ux]
63 . rm 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-count] - \n[doc-arg-ptr])
69 . nr doc-arg-count \n[doc-arg-ptr]
70 . if \n[doc-num-args] \
71 . doc-parse-space-vector
72 .
73 . doc-print-recursive
74 ..
75 .ec
76 .
77 .
78 .\" NS Bx user macro
79 .\" NS print BSD (fix smaller nroff version)
80 .\" NS
81 .\" NS modifies:
82 .\" NS doc-arg-ptr
83 .\" NS doc-curr-font
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 .eo
103 .de Bx
104 . nr doc-curr-font \n[.f]
105 . ds doc-str-Bx \f[\n[doc-curr-font]]
106 .
107 . \" default value if no argument
108 . ds doc-str-Bx1 BSD\*[doc-str-Bx]
109 .
110 . if !\n[doc-arg-count] \
111 . if \n[.$] \{\
112 . ds doc-macro-name Bx
113 . doc-parse-args \$@
114 . \}
115 .
116 . if (\n[doc-arg-count] > \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]]\^
127 . as doc-str-Bx1 BSD\*[doc-str-Bx]
128 .
129 . if (\n[doc-arg-count] > \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-count] - \n[doc-arg-ptr])
155 . nr doc-arg-count \n[doc-arg-ptr]
156 . if \n[doc-num-args] \
157 . doc-parse-space-vector
158 .
159 . doc-print-recursive
160 ..
161 .ec
162 .
163 .
164 .\" NS Ud user macro (not parsed, not callable)
165 .\" NS print "currently under development" (HISTORY section)
166 .\" NS
167 .\" NS width register 'Ud' defined in doc-common
168 .
169 .eo
170 .de Ud
171 . nop \&currently under development.
172 ..
173 .ec
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-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
190 .
191 .eo
192 .ds doc-str-At-32v \&Version\~7
193 .as doc-str-At-32v " AT&T UNIX\*[doc-str-At]/32V
194 .ds doc-str-At-v1 \&Version\~1
195 .as doc-str-At-v1 " AT&T UNIX\*[doc-str-At]
196 .ds doc-str-At-v2 \&Version\~2
197 .as doc-str-At-v2 " AT&T UNIX\*[doc-str-At]
198 .ds doc-str-At-v3 \&Version\~3
199 .as doc-str-At-v3 " AT&T UNIX\*[doc-str-At]
200 .ds doc-str-At-v4 \&Version\~4
201 .as doc-str-At-v4 " AT&T UNIX\*[doc-str-At]
202 .ds doc-str-At-v5 \&Version\~5
203 .as doc-str-At-v5 " AT&T UNIX\*[doc-str-At]
204 .ds doc-str-At-v6 \&Version\~6
205 .as doc-str-At-v6 " AT&T UNIX\*[doc-str-At]
206 .ds doc-str-At-v7 \&Version\~7
207 .as doc-str-At-v7 " AT&T UNIX\*[doc-str-At]
208 .ds doc-str-At-III AT&T\*[doc-str-At] System\~III
209 .as doc-str-At-III " UNIX\*[doc-str-At]
210 .ds doc-str-At-V AT&T\*[doc-str-At] System\~V
211 .as doc-str-At-V " UNIX\*[doc-str-At]
212 .ds doc-str-At-V.1 AT&T\*[doc-str-At] System\~V Release\~1
213 .as doc-str-At-V.1 " UNIX\*[doc-str-At]
214 .ds doc-str-At-V.2 AT&T\*[doc-str-At] System\~V Release\~2
215 .as doc-str-At-V.2 " UNIX\*[doc-str-At]
216 .ds doc-str-At-V.3 AT&T\*[doc-str-At] System\~V Release\~3
217 .as doc-str-At-V.3 " UNIX\*[doc-str-At]
218 .ds doc-str-At-V.4 AT&T\*[doc-str-At] System\~V Release\~4
219 .as doc-str-At-V.4 " UNIX\*[doc-str-At]
220 .
221 .de At
222 . nr doc-curr-font \n[.f]
223 . ds doc-str-At \f[\n[doc-curr-font]]
224 .
225 . \" default value if no argument
226 . ds doc-str-At1 AT&T UNIX\*[doc-str-At]
227 .
228 . if !\n[doc-arg-count] \
229 . if \n[.$] \{\
230 . ds doc-macro-name At
231 . doc-parse-args \$@
232 . \}
233 .
234 . if (\n[doc-arg-count] > \n[doc-arg-ptr]) \{\
235 . nr doc-arg-ptr +1
236 . ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
237 . ie \A'\*[doc-arg\n[doc-arg-ptr]]' \{\
238 . ie d doc-str-At-\*[doc-arg\n[doc-arg-ptr]] \
239 . ds doc-str-At1 "\*[doc-str-At-\*[doc-arg\n[doc-arg-ptr]]]
240 . el \{\
241 . doc-warn .At: Unknown AT&T Unix version \
242 '\*[doc-arg\n[doc-arg-ptr]]'
243 . nr doc-arg-ptr -1
244 . \}\}
245 . el \
246 . nr doc-arg-ptr -1
247 . \}
248 . el \
249 . nr doc-arg-ptr -1
250 . \}
251 .
252 . \" replace current argument with result
253 . ds doc-arg\n[doc-arg-ptr] "\*[doc-str-At1]
254 . nr doc-type\n[doc-arg-ptr] 2
255 . ds doc-space\n[doc-arg-ptr] "\*[doc-space]
256 .
257 . \" recompute space vector for remaining arguments
258 . nr doc-num-args (\n[doc-arg-count] - \n[doc-arg-ptr])
259 . nr doc-arg-count \n[doc-arg-ptr]
260 . if \n[doc-num-args] \
261 . doc-parse-space-vector
262 .
263 . doc-print-recursive
264 ..
265 .ec
266 .
267 .
268 .\" NS Dx user macro
269 .\" NS print DragonFly
270 .\" NS
271 .\" NS modifies:
272 .\" NS doc-arg-ptr
273 .\" NS doc-curr-font
274 .\" NS doc-macro-name
275 .\" NS
276 .\" NS local variable:
277 .\" NS doc-str-Dx
278 .\" NS doc-str-Dx1
279 .\" NS
280 .\" NS width register 'Dx' defined in doc-common
281 .
282 .\" we use the doc-operating-system-DragonFly-* strings defined in
283 .\" doc-common
284 .
285 .eo
286 .de Dx
287 . nr doc-curr-font \n[.f]
288 . ds doc-str-Dx \f[\n[doc-curr-font]]
289 .
290 . \" default value if no argument
291 . ds doc-str-Dx1 \%DragonFly\*[doc-str-Dx]
292 .
293 . if !\n[doc-arg-count] \
294 . if \n[.$] \{\
295 . ds doc-macro-name Dx
296 . doc-parse-args \$@
297 . \}
298 .
299 . if (\n[doc-arg-count] > \n[doc-arg-ptr]) \{\
300 . nr doc-arg-ptr +1
301 . ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
302 . ie \A'\*[doc-arg\n[doc-arg-ptr]]' \{\
303 . ie d doc-operating-system-DragonFly-\*[doc-arg\n[doc-arg-ptr]] \
304 . as doc-str-Dx1 \~\*[doc-operating-system-DragonFly-\*[doc-arg\n[doc-arg-ptr]]]
305 . el \{\
306 . doc-warn .Dx: Unknown DragonFly version \
307 '\*[doc-arg\n[doc-arg-ptr]]'
308 . as doc-str-Dx1 \~\*[doc-arg\n[doc-arg-ptr]]
309 . \}\}
310 . el \
311 . as doc-str-Dx1 \~\*[doc-arg\n[doc-arg-ptr]]
312 . \}
313 . el \
314 . nr doc-arg-ptr -1
315 . \}
316 .
317 . \" replace current argument with result
318 . ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Dx1]
319 . nr doc-type\n[doc-arg-ptr] 2
320 . ds doc-space\n[doc-arg-ptr] "\*[doc-space]
321 .
322 . \" recompute space vector for remaining arguments
323 . nr doc-num-args (\n[doc-arg-count] - \n[doc-arg-ptr])
324 . nr doc-arg-count \n[doc-arg-ptr]
325 . if \n[doc-num-args] \
326 . doc-parse-space-vector
327 .
328 . doc-print-recursive
329 ..
330 .ec
331 .
332 .
333 .\" NS Fx user macro
334 .\" NS print FreeBSD
335 .\" NS
336 .\" NS modifies:
337 .\" NS doc-arg-ptr
338 .\" NS doc-curr-font
339 .\" NS doc-macro-name
340 .\" NS
341 .\" NS local variable:
342 .\" NS doc-str-Fx
343 .\" NS doc-str-Fx1
344 .\" NS
345 .\" NS width register 'Fx' defined in doc-common
346 .
347 .\" we use the doc-operating-system-FreeBSD-* strings defined in
348 .\" doc-common
349 .
350 .eo
351 .de Fx
352 . nr doc-curr-font \n[.f]
353 . ds doc-str-Fx \f[\n[doc-curr-font]]
354 .
355 . \" default value if no argument
356 . ds doc-str-Fx1 \%FreeBSD\*[doc-str-Fx]
357 .
358 . if !\n[doc-arg-count] \
359 . if \n[.$] \{\
360 . ds doc-macro-name Fx
361 . doc-parse-args \$@
362 . \}
363 .
364 . if (\n[doc-arg-count] > \n[doc-arg-ptr]) \{\
365 . nr doc-arg-ptr +1
366 . ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
367 . ie \A'\*[doc-arg\n[doc-arg-ptr]]' \{\
368 . ie d doc-operating-system-FreeBSD-\*[doc-arg\n[doc-arg-ptr]] \
369 . as doc-str-Fx1 \~\*[doc-operating-system-FreeBSD-\*[doc-arg\n[doc-arg-ptr]]]
370 . el \{\
371 . doc-warn .Fx: Unknown FreeBSD version \
372 '\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
373 . as doc-str-Fx1 \~\*[doc-arg\n[doc-arg-ptr]]
374 . \}\}
375 . el \
376 . as doc-str-Fx1 \~\*[doc-arg\n[doc-arg-ptr]]
377 . \}
378 . el \
379 . nr doc-arg-ptr -1
380 . \}
381 .
382 . \" replace current argument with result
383 . ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Fx1]
384 . nr doc-type\n[doc-arg-ptr] 2
385 . ds doc-space\n[doc-arg-ptr] "\*[doc-space]
386 .
387 . \" recompute space vector for remaining arguments
388 . nr doc-num-args (\n[doc-arg-count] - \n[doc-arg-ptr])
389 . nr doc-arg-count \n[doc-arg-ptr]
390 . if \n[doc-num-args] \
391 . doc-parse-space-vector
392 .
393 . doc-print-recursive
394 ..
395 .ec
396 .
397 .
398 .\" NS Nx user macro
399 .\" NS print NetBSD
400 .\" NS
401 .\" NS modifies:
402 .\" NS doc-arg-ptr
403 .\" NS doc-curr-font
404 .\" NS doc-macro-name
405 .\" NS
406 .\" NS local variable:
407 .\" NS doc-str-Nx
408 .\" NS doc-str-Nx1
409 .\" NS
410 .\" NS width register 'Nx' defined in doc-common
411 .
412 .\" we use the doc-operating-system-NetBSD-* strings defined in
413 .\" doc-common
414 .
415 .eo
416 .de Nx
417 . nr doc-curr-font \n[.f]
418 . ds doc-str-Nx \f[\n[doc-curr-font]]
419 .
420 . \" default value if no argument
421 . ds doc-str-Nx1 \%Net
422 . as doc-str-Nx1 BSD\*[doc-str-Nx]
423 .
424 . if !\n[doc-arg-count] \
425 . if \n[.$] \{\
426 . ds doc-macro-name Nx
427 . doc-parse-args \$@
428 . \}
429 .
430 . if (\n[doc-arg-count] > \n[doc-arg-ptr]) \{\
431 . nr doc-arg-ptr +1
432 . ie (\n[doc-type\n[doc-arg-ptr]] == 2) \{\
433 . ie \A'\*[doc-arg\n[doc-arg-ptr]]' \{\
434 . ie d doc-operating-system-NetBSD-\*[doc-arg\n[doc-arg-ptr]] \
435 . as doc-str-Nx1 \~\*[doc-operating-system-NetBSD-\*[doc-arg\n[doc-arg-ptr]]]
436 . el \{\
437 . doc-warn .Nx: Unknown NetBSD version \
438 '\*[doc-arg\n[doc-arg-ptr]]' (#\n[.c])
439 . as doc-str-Nx1 \~\*[doc-arg\n[doc-arg-ptr]]
440 . \}\}
441 . el \
442 . as doc-str-Nx1 \~\*[doc-arg\n[doc-arg-ptr]]
443 . \}
444 . el \
445 . nr doc-arg-ptr -1
446 . \}
447 .
448 . \" replace current argument with result
449 . ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Nx1]
450 . nr doc-type\n[doc-arg-ptr] 2
451 . ds doc-space\n[doc-arg-ptr] "\*[doc-space]
452 .
453 . \" recompute space vector for remaining arguments
454 . nr doc-num-args (\n[doc-arg-count] - \n[doc-arg-ptr])
455 . nr doc-arg-count \n[doc-arg-ptr]
456 . if \n[doc-num-args] \
457 . doc-parse-space-vector
458 .
459 . doc-print-recursive
460 ..
461 .ec
462 .
463 .
464 .\" NS Ox user macro
465 .\" NS print OpenBSD
466 .\" NS
467 .\" NS modifies:
468 .\" NS doc-arg-ptr
469 .\" NS doc-curr-font
470 .\" NS doc-macro-name
471 .\" NS
472 .\" NS local variable:
473 .\" NS doc-str-Ox
474 .\" NS doc-str-Ox1
475 .\" NS
476 .\" NS width register 'Ox' defined in doc-common
477 .
478 .eo
479 .de Ox
480 . nr doc-curr-font \n[.f]
481 . ds doc-str-Ox \f[\n[doc-curr-font]]
482 .
483 . \" default value if no argument
484 . ds doc-str-Ox1 \%OpenBSD\*[doc-str-Ox]
485 .
486 . if !\n[doc-arg-count] \
487 . if \n[.$] \{\
488 . ds doc-macro-name Ox
489 . doc-parse-args \$@
490 . \}
491 .
492 . if (\n[doc-arg-count] > \n[doc-arg-ptr]) \{\
493 . nr doc-arg-ptr +1
494 . ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
495 . as doc-str-Ox1 \~\*[doc-arg\n[doc-arg-ptr]]
496 . el \
497 . nr doc-arg-ptr -1
498 . \}
499 .
500 . \" replace current argument with result
501 . ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Ox1]
502 . nr doc-type\n[doc-arg-ptr] 2
503 . ds doc-space\n[doc-arg-ptr] "\*[doc-space]
504 .
505 . \" recompute space vector for remaining arguments
506 . nr doc-num-args (\n[doc-arg-count] - \n[doc-arg-ptr])
507 . nr doc-arg-count \n[doc-arg-ptr]
508 . if \n[doc-num-args] \
509 . doc-parse-space-vector
510 .
511 . doc-print-recursive
512 ..
513 .ec
514 .
515 .
516 .\" NS Bsx user macro
517 .\" NS print BSD/OS
518 .\" NS
519 .\" NS modifies:
520 .\" NS doc-arg-ptr
521 .\" NS doc-curr-font
522 .\" NS doc-macro-name
523 .\" NS
524 .\" NS local variable:
525 .\" NS doc-str-Bsx
526 .\" NS doc-str-Bsx1
527 .\" NS
528 .\" NS width register 'Bsx' defined in doc-common
529 .
530 .eo
531 .de Bsx
532 . nr doc-curr-font \n[.f]
533 . ds doc-str-Bsx \f[\n[doc-curr-font]]
534 .
535 . \" default value if no argument
536 . ds doc-str-Bsx1 BSD/OS\*[doc-str-Bsx]
537 .
538 . if !\n[doc-arg-count] \
539 . if \n[.$] \{\
540 . ds doc-macro-name Bsx
541 . doc-parse-args \$@
542 . \}
543 .
544 . if (\n[doc-arg-count] > \n[doc-arg-ptr]) \{\
545 . nr doc-arg-ptr +1
546 . ie (\n[doc-type\n[doc-arg-ptr]] == 2) \
547 . as doc-str-Bsx1 \~\*[doc-arg\n[doc-arg-ptr]]
548 . el \
549 . nr doc-arg-ptr -1
550 . \}
551 .
552 . \" replace current argument with result
553 . ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Bsx1]
554 . nr doc-type\n[doc-arg-ptr] 2
555 . ds doc-space\n[doc-arg-ptr] "\*[doc-space]
556 .
557 . \" recompute space vector for remaining arguments
558 . nr doc-num-args (\n[doc-arg-count] - \n[doc-arg-ptr])
559 . nr doc-arg-count \n[doc-arg-ptr]
560 . if \n[doc-num-args] \
561 . doc-parse-space-vector
562 .
563 . doc-print-recursive
564 ..
565 .ec
566 .
567 .
568 .\" The Bt macro should go away now
569 .
570 .\" NS Bt user macro (not parsed, not callable)
571 .\" NS print "is currently in beta test." (HISTORY section)
572 .\" NS
573 .\" NS width register 'Bt' defined in doc-common
574 .
575 .eo
576 .de Bt
577 . nop \&is currently in beta test.
578 ..
579 .ec
580 .
581 .
582 .\" NS Px user macro
583 .\" NS print POSIX
584 .
585 .eo
586 .ds Px \%POSIX
587 .ec
588 .
589 .
590 .\" NS Ai user macro
591 .\" NS print ANSI
592 .
593 .eo
594 .ds Ai \%ANSI
595 .ec
596 .
597 .
598 .\" NS St user macro
599 .\" NS standards (posix, ansi - formal standard names)
600 .\" NS
601 .\" NS modifies:
602 .\" NS doc-arg-ptr
603 .\" NS doc-curr-font
604 .\" NS doc-macro-name
605 .\" NS
606 .\" NS local variable:
607 .\" NS doc-reg-St
608 .\" NS doc-str-St
609 .\" NS doc-str-St1
610 .\" NS doc-str-St-XXX
611 .\" NS
612 .\" NS width register 'St' defined in doc-common
613 .
614 .\" ANSI/ISO C
615 .eo
616 .ds doc-str-St--ansiC-89 \*[Ai] \*[doc-str-St]X\^3.159-1989
617 .as doc-str-St--ansiC-89 " (\*[Lq]\)\*[Ai]\~C89\*[doc-str-St]\*[Rq])
618 .als doc-str-St--ansiC doc-str-St--ansiC-89
619 .ds doc-str-St--isoC ISO/IEC\*[doc-str-St] 9899:1990
620 .as doc-str-St--isoC " (\*[Lq]ISO\~C\^90\*[doc-str-St]\*[Rq])
621 .als doc-str-St--isoC-90 doc-str-St--isoC
622 .ds doc-str-St--isoC-2011 ISO/IEC\*[doc-str-St] 9899:2011
623 .as doc-str-St--isoC-2011 " (\*[Lq]ISO\~C\^11\*[doc-str-St]\*[Rq])
624 .ds doc-str-St--isoC-2023 ISO/IEC\*[doc-str-St] 9899:2024
625 .as doc-str-St--isoC-2023 " (\*[Lq]ISO\~C\^23\*[doc-str-St]\*[Rq])
626 .ds doc-str-St--isoC-99 ISO/IEC\*[doc-str-St] 9899:1999
627 .as doc-str-St--isoC-99 " (\*[Lq]ISO\~C\^99\*[doc-str-St]\*[Rq])
628 .ds doc-str-St--isoC-amd1 ISO/IEC\*[doc-str-St] 9899/AMD1:1995
629 .as doc-str-St--isoC-amd1 " (\*[Lq]ISO\~C\^90\*[doc-str-St], Amendment 1\*[Rq])
630 .ds doc-str-St--isoC-tcor1 ISO/IEC\*[doc-str-St] 9899/TCOR1:1994
631 .as doc-str-St--isoC-tcor1 " (\*[Lq]ISO\~C\^90\*[doc-str-St], Technical Corrigendum 1\*[Rq])
632 .ds doc-str-St--isoC-tcor2 ISO/IEC\*[doc-str-St] 9899/TCOR2:1995
633 .as doc-str-St--isoC-tcor2 " (\*[Lq]ISO\~C\^90\*[doc-str-St], Technical Corrigendum 2\*[Rq])
634 .ec
635 .
636 .\" POSIX Part 1: System API
637 .eo
638 .ds doc-str-St--p1003.1 \%IEEE\*[doc-str-St] Std 1003.1
639 .as doc-str-St--p1003.1 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
640 .ds doc-str-St--p1003.1b \%IEEE\*[doc-str-St] Std 1003.1b
641 .as doc-str-St--p1003.1b " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
642 .ds doc-str-St--p1003.1-88 \%IEEE\*[doc-str-St] Std 1003.1-1988
643 .as doc-str-St--p1003.1-88 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
644 .ds doc-str-St--p1003.1-90 ISO/IEC\*[doc-str-St] 9945-1:1990
645 .as doc-str-St--p1003.1-90 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
646 .als doc-str-St--iso9945-1-90 doc-str-St--p1003.1-90
647 .ds doc-str-St--p1003.1b-93 \%IEEE\*[doc-str-St] Std 1003.1b-1993
648 .as doc-str-St--p1003.1b-93 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
649 .ds doc-str-St--p1003.1c-95 \%IEEE\*[doc-str-St] Std 1003.1c-1995
650 .as doc-str-St--p1003.1c-95 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
651 .ds doc-str-St--p1003.1i-95 \%IEEE\*[doc-str-St] Std 1003.1i-1995
652 .as doc-str-St--p1003.1i-95 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
653 .ds doc-str-St--p1003.1-96 ISO/IEC\*[doc-str-St] 9945-1:1996
654 .as doc-str-St--p1003.1-96 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
655 .als doc-str-St--iso9945-1-96 doc-str-St--p1003.1-96
656 .ds doc-str-St--p1003.1g-2000 \%IEEE\*[doc-str-St] Std 1003.1g-2000
657 .as doc-str-St--p1003.1g-2000 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
658 .ds doc-str-St--p1003.1-2001 \%IEEE\*[doc-str-St] Std 1003.1-2001
659 .as doc-str-St--p1003.1-2001 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
660 .ds doc-str-St--p1003.1-2004 \%IEEE\*[doc-str-St] Std 1003.1-2004
661 .as doc-str-St--p1003.1-2004 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
662 .ds doc-str-St--p1003.1-2008 \%IEEE\*[doc-str-St] Std 1003.1-2008
663 .as doc-str-St--p1003.1-2008 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
664 .ds doc-str-St--p1003.1-2024 \%IEEE\*[doc-str-St] Std 1003.1-2024
665 .as doc-str-St--p1003.1-2024 " (\*[Lq]\)\*[Px]\*[doc-str-St].1\*[Rq])
666 .ec
667 .
668 .\" POSIX Part 2: Shell and Utilities
669 .eo
670 .ds doc-str-St--p1003.2 \%IEEE\*[doc-str-St] Std 1003.2
671 .as doc-str-St--p1003.2 " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
672 .ds doc-str-St--p1003.2-92 \%IEEE\*[doc-str-St] Std 1003.2-1992
673 .as doc-str-St--p1003.2-92 " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
674 .ds doc-str-St--p1003.2a-92 \%IEEE\*[doc-str-St] Std 1003.2a-1992
675 .as doc-str-St--p1003.2a-92 " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
676 .ds doc-str-St--iso9945-2-93 ISO/IEC\*[doc-str-St] 9945-2:1993
677 .as doc-str-St--iso9945-2-93 " (\*[Lq]\)\*[Px]\*[doc-str-St].2\*[Rq])
678 .ec
679 .
680 .\" X/Open
681 .eo
682 .ds doc-str-St--susv1 Version\~1 of the Single UNIX\*[doc-str-St] Specification
683 .as doc-str-St--susv1 " (\*[Lq]SUSv1\*[doc-str-St]\*[Rq])
684 .ds doc-str-St--susv2 Version\~2 of the Single UNIX\*[doc-str-St] Specification
685 .as doc-str-St--susv2 " (\*[Lq]SUSv2\*[doc-str-St]\*[Rq])
686 .ds doc-str-St--susv3 Version\~3 of the Single UNIX\*[doc-str-St] Specification
687 .as doc-str-St--susv3 " (\*[Lq]SUSv3\*[doc-str-St]\*[Rq])
688 .ds doc-str-St--susv4 Version\~4 of the Single UNIX\*[doc-str-St] Specification
689 .as doc-str-St--susv4 " (\*[Lq]SUSv4\*[doc-str-St]\*[Rq])
690 .ds doc-str-St--svid4 System\~V Interface Definition, Fourth Edition
691 .as doc-str-St--svid4 " (\*[Lq]SVID\*[doc-str-St]\^4\*[Rq])
692 .ds doc-str-St--xbd5 X/Open\*[doc-str-St] Base Definitions Issue\~5
693 .as doc-str-St--xbd5 " (\*[Lq]XBD\*[doc-str-St]\^5\*[Rq])
694 .ds doc-str-St--xcu5 X/Open\*[doc-str-St] Commands and Utilities Issue\~5
695 .as doc-str-St--xcu5 " (\*[Lq]XCU\*[doc-str-St]\^5\*[Rq])
696 .ds doc-str-St--xcurses4.2 X/Open\*[doc-str-St] Curses Issue\~4, Version\~2
697 .as doc-str-St--xcurses4.2 " (\*[Lq]XCURSES\*[doc-str-St]\^4.2\*[Rq])
698 .ds doc-str-St--xns5 X/Open\*[doc-str-St] Networking Services Issue\~5
699 .as doc-str-St--xns5 " (\*[Lq]XNS\*[doc-str-St]\^5\*[Rq])
700 .ds doc-str-St--xns5.2 X/Open\*[doc-str-St] Networking Services Issue\~5.2
701 .as doc-str-St--xns5.2 " (\*[Lq]XNS\*[doc-str-St]\^5.2\*[Rq])
702 .ds doc-str-St--xpg3 X/Open\*[doc-str-St] Portability Guide Issue\~3
703 .as doc-str-St--xpg3 " (\*[Lq]XPG\*[doc-str-St]\^3\*[Rq])
704 .ds doc-str-St--xpg4 X/Open\*[doc-str-St] Portability Guide Issue\~4
705 .as doc-str-St--xpg4 " (\*[Lq]XPG\*[doc-str-St]\^4\*[Rq])
706 .ds doc-str-St--xpg4.2 X/Open\*[doc-str-St] Portability Guide Issue\~4, Version\~2
707 .as doc-str-St--xpg4.2 " (\*[Lq]XPG\*[doc-str-St]\^4.2\*[Rq])
708 .ds doc-str-St--xsh5 X/Open\*[doc-str-St] System Interfaces and Headers Issue\~5
709 .as doc-str-St--xsh5 " (\*[Lq]XSH\*[doc-str-St]\^5\*[Rq])
710 .ec
711 .
712 .\" Miscellaneous
713 .eo
714 .ds doc-str-St--ieee754 \%IEEE\*[doc-str-St] Std 754-1985
715 .ds doc-str-St--ieee1275-94 \%IEEE\*[doc-str-St] Std 1275-1994
716 .as doc-str-St--ieee1275-94 " (\*[Lq]Open Firmware\*[doc-str-St]\*[Rq])
717 .ds doc-str-St--iso8601 ISO\*[doc-str-St] 8601
718 .ds doc-str-St--iso8802-3 ISO/IEC\*[doc-str-St] 8802-3:1989
719 .ec
720 .
721 .eo
722 .de St
723 . if !\n[doc-arg-count] \{\
724 . ie \n[.$] \{\
725 . ds doc-macro-name St
726 . doc-parse-args \$@
727 . \}
728 . el \
729 . doc-St-usage
730 . \}
731 .
732 . if !\n[doc-arg-count] \
733 . return
734 .
735 . nr doc-arg-ptr +1
736 . ie (\n[doc-arg-count] >= \n[doc-arg-ptr]) \{\
737 . nr doc-curr-font \n[.f]
738 . ds doc-str-St \f[\n[doc-curr-font]]
739 .
740 . ds doc-str-St1
741 . ie \A'\*[doc-arg\n[doc-arg-ptr]]' \{\
742 . ie d doc-str-St-\*[doc-arg\n[doc-arg-ptr]] \
743 . ds doc-str-St1 "\*[doc-str-St-\*[doc-arg\n[doc-arg-ptr]]]
744 . el \{\
745 . doc-warn .St: Unknown standard abbreviation \
746 '\*[doc-arg\n[doc-arg-ptr]]'
747 . \}\}
748 . el \
749 . doc-St-usage
750 .
751 . \" replacing argument with result
752 . ds doc-arg\n[doc-arg-ptr] "\*[doc-str-St1]
753 .
754 . doc-print-recursive
755 . \}
756 . el \{\
757 . doc-St-usage
758 . doc-reset-args
759 . \}
760 ..
761 .ec
762 .
763 .
764 .\" NS doc-St-usage macro
765 .
766 .eo
767 .de doc-St-usage
768 . doc-report-usage .St standard
769 ..
770 .ec
771 .
772 .
773 .\" NS Lb user macro
774 .\" NS formal library names for LIBRARY sections
775 .\" NS
776 .\" NS modifies:
777 .\" NS doc-arg-ptr
778 .\" NS doc-curr-font
779 .\" NS doc-macro-name
780 .\" NS
781 .\" NS local variable:
782 .\" NS doc-reg-Lb
783 .\" NS doc-str-Lb
784 .\" NS doc-str-Lb1
785 .\" NS doc-str-Lb-XXX
786 .\" NS
787 .\" NS width register 'Lb' defined in doc-common
788 .
789 .eo
790 .ds doc-str-Lb-libarchive Reading and Writing Streaming Archives Library \%(libarchive, \%\-larchive)
791 .ds doc-str-Lb-libarm ARM Architecture Library \%(libarm, \%\-larm)
792 .ds doc-str-Lb-libarm32 ARM32 Architecture Library \%(libarm32, \%\-larm32)
793 .ds doc-str-Lb-libbluetooth Bluetooth Library \%(libbluetooth, \%\-lbluetooth)
794 .ds doc-str-Lb-libbsm Basic Security Module Library \%(libbsm, \%\-lbsm)
795 .ds doc-str-Lb-libc Standard C\~Library \%(libc, \%\-lc)
796 .ds doc-str-Lb-libc_r Reentrant C\~Library \%(libc_r, \%\-lc_r)
797 .ds doc-str-Lb-libcalendar Calendar Arithmetic Library \%(libcalendar, \%\-lcalendar)
798 .ds doc-str-Lb-libcam Common Access Method User Library \%(libcam, \%\-lcam)
799 .ds doc-str-Lb-libcdk Curses Development Kit Library \%(libcdk, \%\-lcdk)
800 .ds doc-str-Lb-libcipher FreeSec Crypt Library \%(libcipher, \%\-lcipher)
801 .ds doc-str-Lb-libcompat Compatibility Library \%(libcompat, \%\-lcompat)
802 .ds doc-str-Lb-libcrypt Crypt Library \%(libcrypt, \%\-lcrypt)
803 .ds doc-str-Lb-libcurses Curses Library \%(libcurses, \%\-lcurses)
804 .ds doc-str-Lb-libdevinfo Device and Resource Information Utility Library \%(libdevinfo, \%\-ldevinfo)
805 .ds doc-str-Lb-libdevstat Device Statistics Library \%(libdevstat, \%\-ldevstat)
806 .ds doc-str-Lb-libdisk Interface to Slice and Partition Labels Library \%(libdisk, \%\-ldisk)
807 .ds doc-str-Lb-libdwarf DWARF Access Library \%(libdwarf, \%\-ldwarf)
808 .ds doc-str-Lb-libedit Command Line Editor Library \%(libedit, \%\-ledit)
809 .ds doc-str-Lb-libelf ELF Access Library \%(libelf, \%\-lelf)
810 .ds doc-str-Lb-libevent Event Notification Library \%(libevent, \%\-levent)
811 .ds doc-str-Lb-libfetch File Transfer Library for URLs \%(libfetch, \%\-lfetch)
812 .ds doc-str-Lb-libform Curses Form Library \%(libform, \%\-lform)
813 .ds doc-str-Lb-libgeom Userland API Library for kernel GEOM subsystem \%(libgeom, \%\-lgeom)
814 .ds doc-str-Lb-libgpib General-Purpose Instrument Bus (GPIB) library \%(libgpib, \%\-lgpib)
815 .ds doc-str-Lb-libi386 i386 Architecture Library \%(libi386, \%\-li386)
816 .ds doc-str-Lb-libintl Internationalized Message Handling Library \%(libintl, \%\-lintl)
817 .ds doc-str-Lb-libipsec IPsec Policy Control Library \%(libipsec, \%\-lipsec)
818 .ds doc-str-Lb-libipx IPX Address Conversion Support Library \%(libipx, \%\-lipx)
819 .ds doc-str-Lb-libiscsi iSCSI protocol library \%(libiscsi, \%\-liscsi)
820 .ds doc-str-Lb-libjail Jail Library \%(libjail, \%\-ljail)
821 .ds doc-str-Lb-libkiconv Kernel side iconv library \%(libkiconv, \%\-lkiconv)
822 .ds doc-str-Lb-libkse N:M Threading Library \%(libkse, \%\-lkse)
823 .ds doc-str-Lb-libkvm Kernel Data Access Library \%(libkvm, \%\-lkvm)
824 .ds doc-str-Lb-libm Math Library \%(libm, \%\-lm)
825 .ds doc-str-Lb-libm68k m68k Architecture Library \%(libm68k, \%\-lm68k)
826 .ds doc-str-Lb-libmagic Magic Number Recognition Library \%(libmagic, \%\-lmagic)
827 .ds doc-str-Lb-libmd Message Digest (MD4, MD5, etc.) Support Library \%(libmd, \%\-lmd)
828 .ds doc-str-Lb-libmemstat Kernel Memory Allocator Statistics Library \%(libmemstat, \%\-lmemstat)
829 .ds doc-str-Lb-libmenu Curses Menu Library \%(libmenu, \%\-lmenu)
830 .ds doc-str-Lb-libnetgraph Netgraph User Library \%(libnetgraph, \%\-lnetgraph)
831 .ds doc-str-Lb-libnetpgp Netpgp signing, verification, encryption and decryption \%(libnetpgp, \%\-lnetpgp)
832 .ds doc-str-Lb-libossaudio OSS Audio Emulation Library \%(libossaudio, \%\-lossaudio)
833 .ds doc-str-Lb-libpam Pluggable Authentication Module Library \%(libpam, \%\-lpam)
834 .ds doc-str-Lb-libpcap Packet Capture Library \%(libpcap, \%\-lpcap)
835 .ds doc-str-Lb-libpci PCI Bus Access Library \%(libpci, \%\-lpci)
836 .ds doc-str-Lb-libpmc Performance Counters Library \%(libpmc, \%\-lpmc)
837 .ds doc-str-Lb-libposix \*[Px] \*[doc-str-Lb]Compatibility Library \%(libposix, \%\-lposix)
838 .ds doc-str-Lb-libprop Property Container Object Library \%(libprop, \%\-lprop)
839 .ds doc-str-Lb-libpthread \*[Px] \*[doc-str-Lb]Threads Library \%(libpthread, \%\-lpthread)
840 .ds doc-str-Lb-libpuffs puffs Convenience Library \%(libpuffs, \%\-lpuffs)
841 .ds doc-str-Lb-librefuse File System in Userspace Convenience Library \%(librefuse, \%\-lrefuse)
842 .ds doc-str-Lb-libresolv DNS Resolver Library \%(libresolv, \%\-lresolv)
843 .ds doc-str-Lb-librpcsec_gss RPC GSS-API Authentication Library \%(librpcsec_gss, \%\-lrpcsec_gss)
844 .ds doc-str-Lb-librpcsvc RPC Service Library \%(librpcsvc, \%\-lrpcsvc)
845 .ds doc-str-Lb-librt \*[Px] \*[doc-str-Lb]Real-time Library \%(librt, \%\-lrt)
846 .ds doc-str-Lb-libsdp Bluetooth Service Discovery Protocol User Library \%(libsdp, \%\-lsdp)
847 .ds doc-str-Lb-libssp Buffer Overflow Protection Library \%(libssp, \%\-lssp)
848 .ds doc-str-Lb-libSystem System Library \%(libSystem, \%\-lSystem)
849 .ds doc-str-Lb-libtermcap Termcap Access Library \%(libtermcap, \%\-ltermcap)
850 .ds doc-str-Lb-libterminfo Terminal Information Library \%(libterminfo, \%\-lterminfo)
851 .ds doc-str-Lb-libthr 1:1 Threading Library \%(libthr, \%\-lthr)
852 .ds doc-str-Lb-libufs UFS File System Access Library \%(libufs, \%\-lufs)
853 .ds doc-str-Lb-libugidfw File System Firewall Interface Library \%(libugidfw, \%\-lugidfw)
854 .ds doc-str-Lb-libulog User Login Record Library \%(libulog, \%\-lulog)
855 .ds doc-str-Lb-libusbhid USB Human Interface Devices Library \%(libusbhid, \%\-lusbhid)
856 .ds doc-str-Lb-libutil System Utilities Library \%(libutil, \%\-lutil)
857 .ds doc-str-Lb-libvgl Video Graphics Library \%(libvgl, \%\-lvgl)
858 .ds doc-str-Lb-libx86_64 x86_64 Architecture Library \%(libx86_64, \%\-lx86_64)
859 .ds doc-str-Lb-libz Compression Library \%(libz, \%\-lz)
860 .ec
861 .
862 .eo
863 .de Lb
864 . if !\n[doc-arg-count] \{\
865 . ie \n[.$] \{\
866 . ds doc-macro-name Lb
867 . doc-parse-args \$@
868 . \}
869 . el \
870 . doc-report-usage .Lb library_name ...
871 . \}
872 .
873 . if !\n[doc-arg-count] \
874 . return
875 .
876 . nr doc-arg-ptr +1
877 . ie (\n[doc-arg-count] >= \n[doc-arg-ptr]) \{\
878 . nr doc-curr-font \n[.f]
879 . ds doc-str-Lb \f[\n[doc-curr-font]]
880 .
881 . ie d doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]] \
882 . ds doc-str-Lb1 "\*[doc-str-Lb-\*[doc-arg\n[doc-arg-ptr]]]
883 . el \
884 . ds doc-str-Lb1 "\*[doc-arg\n[doc-arg-ptr]]
885 .
886 . \" replacing argument with result
887 . ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Lb1]
888 .
889 . if \n[doc-in-library-section] \
890 . br
891 . doc-print-recursive
892 . if \n[doc-in-library-section] \
893 . br
894 . \}
895 . el \{\
896 . doc-report-usage .Lb library_name ...
897 . doc-reset-args
898 . \}
899 ..
900 .ec
901 .
902 .
903 .\" Local Variables:
904 .\" mode: nroff
905 .\" fill-column: 72
906 .\" End:
907 .\" vim: set filetype=groff textwidth=72: