Skip to contentSkip to conversation

man2/open.2: ffix

PATCH In review G. Branden Robinson 2 participants 3 messages Jan 16, 2024 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 man2/open.2: ffix

Migrate man page cross reference in non-filled context to font alternation macro. This is to prepare it for MR migration.

---
 man2/open.2 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
man2/open.2 +3 -1
index f37ddbed0..42716ed8e 100644
@@ -46,7 +46,9 @@ .SH SYNOPSIS
 .BI "int openat(int " dirfd ", const char *" pathname ", int " flags ", ..."
 .BI "           \fR/*\fP mode_t " mode " \fR*/\fP );"
 .P
-/* Documented separately, in \fBopenat2\fP(2): */
+/* Documented separately, in \c
+.BR openat2 :\c
+\& */
 .BI "int openat2(int " dirfd ", const char *" pathname ,
 .BI "           const struct open_how *" how ", size_t " size );
 .fi
Signature · 1 line
2.30.2
#1 lore raw
Quoted 13 lines · G. Branden Robinson

Migrate man page cross reference in non-filled context to font alternation macro. This is to prepare it for MR migration.

---
 man2/open.2 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
man2/open.2 +0 -0
index f37ddbed0..42716ed8e 100644

man2/open.2 .SH SYNOPSIS · line 50

Quoted 6 lines
man2/open.2 +2 -1
@@ -46,7 +46,9 @@ .SH SYNOPSIS
 .BI "int openat(int " dirfd ", const char *" pathname ", int " flags ", ..."
 .BI "           \fR/*\fP mode_t " mode " \fR*/\fP );"
 .P
-/* Documented separately, in \fBopenat2\fP(2): */
+/* Documented separately, in \c
+.BR openat2 :\c

Did you forget the (2)?

Quoted 7 lines
man2/open.2 +1 -0
+\& */
 .BI "int openat2(int " dirfd ", const char *" pathname ,
 .BI "           const struct open_how *" how ", size_t " size );
 .fi
Signature · 1 line
2.30.2
Signature · 2 lines
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.
#2 lore raw
Quoted 6 lines · Alejandro Colomar

man2/open.2 .SH SYNOPSIS · line 50

Quoted 3 lines · G. Branden Robinson
man2/open.2 +2 -1
-/* Documented separately, in \fBopenat2\fP(2): */
+/* Documented separately, in \c
+.BR openat2 :\c

Did you forget the (2)?

Whoops. Sure did. A "2" was already at the top of my brain's stack, so my internal Forth interpreter assumed I didn't need to DUP it.

Patch v2 sent.

Regards,
Branden