groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v5 1/2] open_how.2type: ffix


From: Alejandro Colomar
Subject: [PATCH v5 1/2] open_how.2type: ffix
Date: Sat, 30 Jul 2022 01:01:07 +0200

Format structures with tbl(1) to improve alignment in
proportional-width font text.

Reported-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: Heinz-J├╝rgen Oertel <hj.oertel@t-online.de>
Cc: Ralph Corderoy <ralph@inputplus.co.uk>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2type/open_how.2type | 25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)

diff --git a/man2type/open_how.2type b/man2type/open_how.2type
index 570bc9b22..847f33f95 100644
--- a/man2type/open_how.2type
+++ b/man2type/open_how.2type
@@ -13,10 +13,27 @@ Linux kernel headers
 .B #include <linux/openat2.h>
 .PP
 .B struct open_how {
-.BR "    u64  flags;" "    /* " O_ "* flags */"
-.BR "    u64  mode;" "     /* Mode for " O_ { CREAT , TMPFILE "} */"
-.BR "    u64  resolve;" "  /* " RESOLVE_ "* flags */"
-    /* ... */
+.fi
+.RS 4
+.TS
+lB2 lB2 l1 lX.
+u64    flags;  /*      T{
+.BR O_ *
+flags */
+T}
+u64    mode;   /*      T{
+Mode for
+.BR \%O_ { CREAT , TMPFILE }
+*/
+T}
+u64    resolve;        /*      T{
+.BR RESOLVE_ *
+flags */
+T}
+.TE
+.nf
+/* ... */
+.RE
 .B };
 .fi
 .SH DESCRIPTION
-- 
2.36.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]