xref: /openbsd/regress/usr.bin/mandoc/mdoc/Fo/break.in (revision 09467b48)
1.\" $OpenBSD: break.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $
2.Dd $Mdocdate: July 4 2017 $
3.Dt FO-BREAK 1
4.Os
5.Sh NAME
6.Nm Fo-break
7.Nd line breaks in function blocks
8.Sh SYNOPSIS
9.Fd using \&Fn:
10.Ft my_long_return_type *
11.Fn my_long_function "my_long_type first_argument" "my_long_type second_argument"
12.Ft void
13.Fn "this function name is so ridiculously long \
14that it will not fit on the line" "my_long_type first_argument" \
15"my_long_type second_argument" "my_long_type third_argument"
16.Fd using \&Fo and single-argument \&Fa:
17.Ft my_long_return_type *
18.Fo my_long_function
19.Fa "my_long_type first_argument"
20.Fa "my_long_type second_argument"
21.Fc
22.Ft void
23.Fo "this function name is so ridiculously long \
24that it will not fit on the line"
25.Fa "my_long_type first_argument"
26.Fa "my_long_type second_argument"
27.Fa "my_long_type third_argument"
28.Fc
29.Fd using \&Fo and multi-argument \&Fa:
30.Ft my_long_return_type *
31.Fo my_long_function
32.Fa "my_long_type first_argument" "my_long_type second_argument"
33.Fc
34.Sh DESCRIPTION
35using Fn:
36.br
37.Fn my_long_function "my_long_type first_argument" "my_long_type second_argument"
38.Pp
39using Fo and single-argument Fa:
40.br
41.Fo my_long_function
42.Fa "my_long_type first_argument"
43.Fa "my_long_type second_argument"
44.Fc
45.Pp
46using Fo and multi-argument Fa:
47.br
48.Fo my_long_function
49.Fa "my_long_type first_argument" "my_long_type second_argument"
50.Fc
51