A mirror of Man pages
Go to file
Michael Kerrisk f1a291ecd0 poll.2: Remove EBADF error from ERRORS
As reported by Motohiro:

"man poll" describe this error code.

>ERRORS
>   EBADF  An invalid file descriptor was given in one of the sets.

but current kernel implementation ignore invalid file descriptor,
not return EBADF.
...

In the other hand, SUSv3 talk about

> POLLNVAL
>    The specified fd value is invalid. This flag is only valid in the
>    revents member; it shall ignored in the events member.

and

> If the value of fd is less than 0, events shall be ignored, and
> ireevents shall be set to 0 in that entry on return from poll().

but, no desribe EBADF.
(see http://www.opengroup.org/onlinepubs/009695399/functions/poll.html)

So, I think the implementation is correct.

Why don't we remove EBADF description?

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
2008-06-11 02:09:08 +02:00
man1 Removed trailing white space at end of lines 2008-11-25 21:44:53 -05:00
man2 poll.2: Remove EBADF error from ERRORS 2008-06-11 02:09:08 +02:00
man3 strcpy.3: SEE ALSO: Add strdup(3) 2008-06-10 10:22:21 +02:00
man4 initrd.4: Various minor wording improvements. 2009-04-04 07:00:03 +13:00
man5 Removed trailing white space at end of lines 2009-03-31 10:13:30 +13:00
man6 Wrapped long source lines 2008-07-06 15:10:32 +00:00
man7 standards.7: Remove references to dated books 2008-06-10 10:04:05 +02:00
man8 ldconfig.8: tstamp 2009-04-16 03:57:33 +12:00
scripts Script to remove the COLOPHON section from the man pages provided as 2008-01-13 08:32:15 +00:00
Changes Start of man-pages-3.22: updating Changes and Changes.old 2009-04-16 04:25:07 +12:00
Changes.old Start of man-pages-3.22: updating Changes and Changes.old 2009-04-16 04:25:07 +12:00
Makefile POSIX man pages are now in a separate package. 2008-06-05 09:52:50 +00:00
README Update descriptions of pages. 2008-06-05 11:27:44 +00:00
man-pages-3.22.Announce Start of man-pages-3.22: updating .Announce and .lsm files 2009-04-16 04:25:06 +12:00
man-pages-3.22.lsm Start of man-pages-3.22: updating .Announce and .lsm files 2009-04-16 04:25:06 +12:00

README

This package contains Linux man pages for sections
2, 3, 4, 5, and 7. Some more information is given in the
`Announce' file.

Install by copying to your favourite location.
"make install" will just copy them to /usr/share/man/man[1-8].
"make" will move the pages from this package that are older than
the already installed ones to a subdirectory `not_installed',
then remove old versions (compressed or not),
compress the pages, and copy them to /usr/share/man/man[1-8].


Note that you may have to remove preformatted pages.

Note that sometimes these pages are duplicates of pages
also distributed in other packages. This has been reported
about dlclose.3, dlerror.3, dlopen.3, dlsym.3 (found in ld.so),
about resolver.3, resolv.conf.5 (found in bind-utils),
and about passwd.5, and mailaddr.7. Be careful not to
overwrite more up-to-date versions.
Reports on further duplicates are welcome.
Formerly present and now removed duplicates:
 exports.5 (found in nfs-server-2.2*),
 fstab.5, nfs.5 (found in util-linux-2.12*),
 lilo.8, lilo.conf.5 (found in lilo-21.6*).

Copyrights: These man pages come under various copyrights.
All pages are freely distributable when the nroff source is included.

If you have corrections and additions to suggest, see
http://www.kernel.org/doc/man-pages/