[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#133336: Manpage is also buggy



reassign 133336 glibc-doc,manpages-dev
thanks

The manpage termios(3) also claims it returns int:

       int cfmakeraw(struct termios *termios_p);

And /usr/include/termios.h (libc6-dev 2.3.1-3) still defines it as
returning void. Neither the info page nor the manpage makes any mention of
what exactly cfmakeraw() returns---indicative of possible oversight by
whoever wrote the original docs.

According to glibc-2.3.1/termios/cfmakeraw.c:

void
cfmakeraw (t)
     struct termios *t;
{
 ...
}


So I submit that this is a documentation bug.


T

-- 
The irony is that Bill Gates claims to be making a stable operating system
and Linus Torvalds claims to be trying to take over the world. -- Anonymous



Reply to: