summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Fo/break.in
blob: f77fb3536a7e629cb531748ddab36b25f52706b9 (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
46
47
48
49
50
.\" $OpenBSD: break.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $
.Dd $Mdocdate$
.Dt FO-BREAK 1
.Os
.Sh NAME
.Nm Fo-break
.Nd line breaks in function blocks
.Sh SYNOPSIS
.Fd using \&Fn:
.Ft my_long_return_type *
.Fn my_long_function "my_long_type first_argument" "my_long_type second_argument"
.Ft void
.Fn "this function name is so ridiculously long \
that it will not fit on the line" "my_long_type first_argument" \
"my_long_type second_argument" "my_long_type third_argument"
.Fd using \&Fo and single-argument \&Fa:
.Ft my_long_return_type *
.Fo my_long_function
.Fa "my_long_type first_argument"
.Fa "my_long_type second_argument"
.Fc
.Ft void
.Fo "this function name is so ridiculously long \
that it will not fit on the line"
.Fa "my_long_type first_argument"
.Fa "my_long_type second_argument"
.Fa "my_long_type third_argument"
.Fc
.Fd using \&Fo and multi-argument \&Fa:
.Ft my_long_return_type *
.Fo my_long_function
.Fa "my_long_type first_argument" "my_long_type second_argument"
.Fc
.Sh DESCRIPTION
using Fn:
.br
.Fn my_long_function "my_long_type first_argument" "my_long_type second_argument"
.Pp
using Fo and single-argument Fa:
.br
.Fo my_long_function
.Fa "my_long_type first_argument"
.Fa "my_long_type second_argument"
.Fc
.Pp
using Fo and multi-argument Fa:
.br
.Fo my_long_function
.Fa "my_long_type first_argument" "my_long_type second_argument"
.Fc