diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
commit | 4c0770c1ecd159a77561d8e0364385f4bb758650 (patch) | |
tree | 5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/mdoc/Fo/break.in | |
parent | d16e7f2cf346476e177ce672851b0b957aebbe5d (diff) | |
download | mandoc-4c0770c1ecd159a77561d8e0364385f4bb758650.tar.gz |
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this,
literally for years.
Diffstat (limited to 'regress/mdoc/Fo/break.in')
-rw-r--r-- | regress/mdoc/Fo/break.in | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/regress/mdoc/Fo/break.in b/regress/mdoc/Fo/break.in new file mode 100644 index 00000000..48a0a1a2 --- /dev/null +++ b/regress/mdoc/Fo/break.in @@ -0,0 +1,49 @@ +.Dd April 8, 2014 +.Dt FO-BREAK 1 +.Os OpenBSD +.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 |