diff options
Diffstat (limited to 'regress/mdoc/Fd')
-rw-r--r-- | regress/mdoc/Fd/Makefile | 7 | ||||
-rw-r--r-- | regress/mdoc/Fd/break.in | 26 | ||||
-rw-r--r-- | regress/mdoc/Fd/break.out_ascii | 27 | ||||
-rw-r--r-- | regress/mdoc/Fd/empty.in | 14 | ||||
-rw-r--r-- | regress/mdoc/Fd/empty.out_ascii | 13 | ||||
-rw-r--r-- | regress/mdoc/Fd/empty.out_lint | 2 | ||||
-rw-r--r-- | regress/mdoc/Fd/eos.in | 10 | ||||
-rw-r--r-- | regress/mdoc/Fd/eos.out_ascii | 10 | ||||
-rw-r--r-- | regress/mdoc/Fd/font.in | 10 | ||||
-rw-r--r-- | regress/mdoc/Fd/font.out_ascii | 10 |
10 files changed, 129 insertions, 0 deletions
diff --git a/regress/mdoc/Fd/Makefile b/regress/mdoc/Fd/Makefile new file mode 100644 index 00000000..7cd78c65 --- /dev/null +++ b/regress/mdoc/Fd/Makefile @@ -0,0 +1,7 @@ +# $OpenBSD: Makefile,v 1.3 2015/02/06 03:31:11 schwarze Exp $ + +REGRESS_TARGETS = break empty eos font +LINT_TARGETS = empty +SKIP_TMAN = eos + +.include <bsd.regress.mk> diff --git a/regress/mdoc/Fd/break.in b/regress/mdoc/Fd/break.in new file mode 100644 index 00000000..e6fd9023 --- /dev/null +++ b/regress/mdoc/Fd/break.in @@ -0,0 +1,26 @@ +.Dd June 9, 2010 +.Dt FD-BREAK 2 +.Os OpenBSD +.Sh NAME +.Nm Fd-break +.Nd line break before old-style header include file +.Sh SYNOPSIS +.Fd #include <fcntl.h> +.Ft int +.Fn open "const char *path" "int flags" "mode_t mode" +.Fd #include <sys/types.h> +.Fd #include <unistd.h> +.Ft int +.Fn dup "int oldd" +.Ft ssize_t +.Fn write "int d" "const void *buf" "size_t nbytes" +.Sh DESCRIPTION +.Fd #include <fcntl.h> +.Ft int +.Fn open "const char *path" "int flags" "mode_t mode" +.Fd #include <sys/types.h> +.Fd #include <unistd.h> +.Ft int +.Fn dup "int oldd" +.Ft ssize_t +.Fn write "int d" "const void *buf" "size_t nbytes" diff --git a/regress/mdoc/Fd/break.out_ascii b/regress/mdoc/Fd/break.out_ascii new file mode 100644 index 00000000..fdd6aae4 --- /dev/null +++ b/regress/mdoc/Fd/break.out_ascii @@ -0,0 +1,27 @@ +FD-BREAK(2) System Calls Manual FD-BREAK(2) + +NNAAMMEE + FFdd--bbrreeaakk - line break before old-style header include file + +SSYYNNOOPPSSIISS + ##iinncclluuddee <<ffccnnttll..hh>> + + _i_n_t + ooppeenn(_c_o_n_s_t _c_h_a_r _*_p_a_t_h, _i_n_t _f_l_a_g_s, _m_o_d_e___t _m_o_d_e); + + ##iinncclluuddee <<ssyyss//ttyyppeess..hh>> + ##iinncclluuddee <<uunniissttdd..hh>> + + _i_n_t + dduupp(_i_n_t _o_l_d_d); + + _s_s_i_z_e___t + wwrriittee(_i_n_t _d, _c_o_n_s_t _v_o_i_d _*_b_u_f, _s_i_z_e___t _n_b_y_t_e_s); + +DDEESSCCRRIIPPTTIIOONN + ##iinncclluuddee <<ffccnnttll..hh>> + _i_n_t ooppeenn(_c_o_n_s_t _c_h_a_r _*_p_a_t_h, _i_n_t _f_l_a_g_s, _m_o_d_e___t _m_o_d_e) ##iinncclluuddee <<ssyyss//ttyyppeess..hh>> + ##iinncclluuddee <<uunniissttdd..hh>> + _i_n_t dduupp(_i_n_t _o_l_d_d) _s_s_i_z_e___t wwrriittee(_i_n_t _d, _c_o_n_s_t _v_o_i_d _*_b_u_f, _s_i_z_e___t _n_b_y_t_e_s) + +OpenBSD June 9, 2010 OpenBSD diff --git a/regress/mdoc/Fd/empty.in b/regress/mdoc/Fd/empty.in new file mode 100644 index 00000000..5951316d --- /dev/null +++ b/regress/mdoc/Fd/empty.in @@ -0,0 +1,14 @@ +.Dd February 5, 2015 +.Dt FD-EMPTY 1 +.Os OpenBSD +.Sh NAME +.Nm Fd-empty +.Nd empty preprocessor directive macros +.Sh SYNOPSIS +.In sys/types.h +.Fd +.In stdlib.h +.Sh DESCRIPTION +leading text +.Fd +trailing text diff --git a/regress/mdoc/Fd/empty.out_ascii b/regress/mdoc/Fd/empty.out_ascii new file mode 100644 index 00000000..d525b482 --- /dev/null +++ b/regress/mdoc/Fd/empty.out_ascii @@ -0,0 +1,13 @@ +FD-EMPTY(1) General Commands Manual FD-EMPTY(1) + +NNAAMMEE + FFdd--eemmppttyy - empty preprocessor directive macros + +SSYYNNOOPPSSIISS + ##iinncclluuddee <<ssyyss//ttyyppeess..hh>> + ##iinncclluuddee <<ssttddlliibb..hh>> + +DDEESSCCRRIIPPTTIIOONN + leading text trailing text + +OpenBSD February 5, 2015 OpenBSD diff --git a/regress/mdoc/Fd/empty.out_lint b/regress/mdoc/Fd/empty.out_lint new file mode 100644 index 00000000..15f76270 --- /dev/null +++ b/regress/mdoc/Fd/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:9:2: WARNING: skipping empty macro: Fd +mandoc: empty.in:13:2: WARNING: skipping empty macro: Fd diff --git a/regress/mdoc/Fd/eos.in b/regress/mdoc/Fd/eos.in new file mode 100644 index 00000000..f2efb028 --- /dev/null +++ b/regress/mdoc/Fd/eos.in @@ -0,0 +1,10 @@ +.Dd November 17, 2012 +.Dt FD-EOS 1 +.Os OpenBSD +.Sh NAME +.Nm Fd-eos +.Nd end of sentence handling after the legacy include macro +.Sh DESCRIPTION +Let's use +.Fd string.h . +And then something else. diff --git a/regress/mdoc/Fd/eos.out_ascii b/regress/mdoc/Fd/eos.out_ascii new file mode 100644 index 00000000..3d54ac3e --- /dev/null +++ b/regress/mdoc/Fd/eos.out_ascii @@ -0,0 +1,10 @@ +FD-EOS(1) General Commands Manual FD-EOS(1) + +NNAAMMEE + FFdd--eeooss - end of sentence handling after the legacy include macro + +DDEESSCCRRIIPPTTIIOONN + Let's use ssttrriinngg..hh .. + And then something else. + +OpenBSD November 17, 2012 OpenBSD diff --git a/regress/mdoc/Fd/font.in b/regress/mdoc/Fd/font.in new file mode 100644 index 00000000..a3a0a830 --- /dev/null +++ b/regress/mdoc/Fd/font.in @@ -0,0 +1,10 @@ +.Dd July 9, 2012 +.Dt FD-FONT 2 +.Os OpenBSD +.Sh NAME +.Nm Fd-font +.Nd changing the font inside the old-style include macro +.Sh DESCRIPTION +normal text +.Fd prefix\\fIheader\\fPsuffix +trailing text diff --git a/regress/mdoc/Fd/font.out_ascii b/regress/mdoc/Fd/font.out_ascii new file mode 100644 index 00000000..7a3428fe --- /dev/null +++ b/regress/mdoc/Fd/font.out_ascii @@ -0,0 +1,10 @@ +FD-FONT(2) System Calls Manual FD-FONT(2) + +NNAAMMEE + FFdd--ffoonntt - changing the font inside the old-style include macro + +DDEESSCCRRIIPPTTIIOONN + normal text pprreeffiixx_h_e_a_d_e_rssuuffffiixx + trailing text + +OpenBSD July 9, 2012 OpenBSD |