Skip to contentSkip to conversation

fopen(3), fmemopen(3), fopencookie(3): Cross-link

PATCH Applied Petr Baudis 2 participants 2 messages Dec 4, 2008 – Dec 5, 2008 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fopen(3), fmemopen(3), fopencookie(3): Cross-link

man3/fmemopen.3 +2 -1
index 47187b6..ccd0f7b 100644
@@ -224,5 +224,6 @@ does not enlarge the buffer; instead the
 call fails, returning \-1.
 .\" http://sourceware.org/bugzilla/show_bug.cgi?id=1996
 .SH "SEE ALSO"
+.BR feature_test_macros (7),
 .BR fopen (3),
-.BR feature_test_macros (7)
+.BR fopencookie (3)
man3/fopen.3 +4 -2
index d6b6314..b59810f 100644
@@ -38,6 +38,7 @@
 .\" Converted for Linux, Mon Nov 29 15:22:01 1993, [email protected]
 .\" Modified, aeb, 960421, 970806
 .\" Modified, joey, aeb, 2002-01-03
+.\" Cross-linked, [email protected], 2008-12-04
 .\"
 .TH FOPEN 3  2008-10-12 "GNU" "Linux Programmer's Manual"
 .SH NAME
@@ -300,5 +301,6 @@ This flag is ignored for
 .\" FIXME document /,ccs= charset/
 .SH "SEE ALSO"
 .BR open (2),
-.BR fclose (3),
-.BR fileno (3)
+.BR fileno (3),
+.BR fmemopen (3),
+.BR fopencookie (3)

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to a message not in the archive

Hi Petr

Thanks for the patch.

man3/fmemopen.3 does not enlarge the buffer; instead the · line 228

Quoted 13 lines · Petr Baudis
man3/fmemopen.3 +1 -1
index 47187b6..ccd0f7b 100644
@@ -224,5 +224,6 @@ does not enlarge the buffer; instead the
 call fails, returning \-1.
 .\" http://sourceware.org/bugzilla/show_bug.cgi?id=1996
 .SH "SEE ALSO"
+.BR feature_test_macros (7),
 .BR fopen (3),
-.BR feature_test_macros (7)

The way that SEE ALSO lists are ordered is first by section number, then alphabetically within sections. (This is longstanding Unix convention.) Dropped.

man3/fmemopen.3 does not enlarge the buffer; instead the · line 229

Quoted 1 line
man3/fmemopen.3 +1 -0
+.BR fopencookie (3)

Applied.

man3/fopen.3 line 41

Quoted 9 lines
man3/fopen.3 +1 -0
index d6b6314..b59810f 100644
@@ -38,6 +38,7 @@
 .\" Converted for Linux, Mon Nov 29 15:22:01 1993, [email protected]
 .\" Modified, aeb, 960421, 970806
 .\" Modified, joey, aeb, 2002-01-03
+.\" Cross-linked, [email protected], 2008-12-04

Nowadays, I tend only to add lines to the in-source change log for major changes. All changes are anyway recorded in the git changelog.

man3/fopen.3 This flag is ignored for · line 303

Quoted 8 lines
man3/fopen.3 +0 -1
 .\"
 .TH FOPEN 3  2008-10-12 "GNU" "Linux Programmer's Manual"
 .SH NAME
@@ -300,5 +301,6 @@ This flag is ignored for
 .\" FIXME document /,ccs= charset/
 .SH "SEE ALSO"
 .BR open (2),
-.BR fclose (3),

Why remove fclose()? Dropped.

man3/fopen.3 This flag is ignored for · line 306

Quoted 4 lines
man3/fopen.3 +3 -1
-.BR fileno (3)
+.BR fileno (3),
+.BR fmemopen (3),
+.BR fopencookie (3)

Applied this piece.

Changes will be in 3.15.

Thanks Petr!

Chjeers,

Michael

Signature · 9 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html