xref: /openbsd-src/regress/usr.bin/mandoc/mdoc/Fo/noarg.in (revision 943fb9d8c7fc1b7e0db8c617168f7360d3ee357c)
1.\" $OpenBSD: noarg.in,v 1.6 2017/07/04 14:53:25 schwarze Exp $
2.Dd $Mdocdate: July 4 2017 $
3.Dt FN-NOARG 1
4.Os
5.Sh NAME
6.Nm Fn-noarg
7.Nd function name macro without arguments
8.Sh DESCRIPTION
9with arguments:
10.Ft int
11.Fn abs "int i"
12.Ft long
13.Fo labs bogus
14.Fa "long i"
15.Fc
16void function arguments:
17.Ft int
18.Fn rand
19.Ft long
20.Fo random
21.Fc
22.Ft u_int32_t
23.Fo arc4random
24.Fa
25.Fc
26no name arguments:
27.Ft int
28.Fn
29no type arguments:
30.Ft
31.Fn abs "int i"
32no type and void function arguments:
33.Ft
34.Fn rand
35.Ft
36.Fo random
37.Fc
38.Ft
39.Fo arc4random
40.Fa
41.Fc
42no arguments at all:
43.Ft
44.Fn
45end of test document
46