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 | d9f0f81c846a8405c29870e4a8379e5e79d1cad3 (patch) | |
tree | c07efd74ac58650949dc67576001a720e688319f /regress/mdoc/Fo/break.in | |
parent | cdbb1fca07752eb230e5219c22e9e65075c85b82 (diff) | |
download | mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.gz mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.zst mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.zip |
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 |