Skip to contentSkip to conversation

New: Man Page for ferror/feof has bad information in "Return Value" Section

Bug 213341 [email protected] 1 participant 3 messages Jun 4, 2021 – Jun 7, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=213341

URL: https://man7.org/linux/man-pages/man3/ferror.3.html
Bug ID: 213341
Summary: Man Page for ferror/feof has bad information in
"Return Value" Section
Product: Documentation
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: low
Priority: P1
Component: man-pages
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Within the man page for ferror and feof, there is a description for the return value of feof twice. The second description is for ferror.

Quoted 13 lines

This:
The feof() function returns nonzero if the end-of-file indicator is set for stream; otherwise, it returns zero.

The feof() function returns nonzero if the error indicator is set for stream; otherwise, it returns zero.

Should be this:
The feof() function returns nonzero if the end-of-file indicator is set for stream; otherwise, it returns zero.

The ferror() function returns nonzero if the error indicator is set for stream; otherwise, it returns zero.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 213341] Man Page for ferror/feof has bad information in "Return Value" Section

https://bugzilla.kernel.org/show_bug.cgi?id=213341

Alejandro Colomar (man-pages) ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |OBSOLETE

--- Comment #1 from Alejandro Colomar (man-pages) ([email protected]) --- This was fixed a few weeks ago in my tree :)

See
<https://github.com/alejandro-colomar/man-pages/commit/9e1f28a8595ce90e7905635faf8542cf8bd674b6>.

It's not yet merged into Michael's tree, though.

Anyway, thanks,

Alex

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 213341] Man Page for ferror/feof has bad information in "Return Value" Section

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=213341

--- Comment #2 from Jake ([email protected]) --- (In reply to Alejandro Colomar (man-pages) from comment #1)

Quoted 11 lines

This was fixed a few weeks ago in my tree :)

See
<https://github.com/alejandro-colomar/man-pages/commit/
9e1f28a8595ce90e7905635faf8542cf8bd674b6>.

It's not yet merged into Michael's tree, though.

Anyway, thanks,

Alex

Awesome, thanks.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.