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