Skip to contentSkip to conversation

New: stat(2) missing mention of EIO

Bug 108951 bugzilla-daemon-590EEB7GvNiWaY/[email protected] 1 participant 1 message Dec 6, 2015 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=108951

Bug ID: 108951
Summary: stat(2) missing mention of EIO
Product: Documentation
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: man-pages
Assignee: documentation_man-pages-ztI5WcYan/[email protected]
Reporter: nyh-TS7m/[email protected]
Regression: No

I suppose that stat(2) can return EIO error if it has an error reading the inode or one of the paths' parents. The Posix stat() manual page
(http://pubs.opengroup.org/onlinepubs/009695399/functions/stat.html) mentions this possibility. However, the Linux stat(2) manual page is missing this possible error.

By the way, it seems there are more system call man pages (e.g., open(2)) who are missing mention of EIO. Most other system call man pages I looked at do correctly mention EIO. But perhaps a more extensive exploration of all the system calls needs to be conducted.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
--
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