getpass obsolete?

Marcus Brinkmann Marcus.Brinkmann@ruhr-uni-bochum.de
Tue May 27 15:38:00 GMT 2003


On Tue, May 27, 2003 at 05:05:06PM +0800, Carlo Florendo wrote:
> I've successfully compiled an application from redhat linux 8.0 that uses the getpass function from /usr/include/unistd.h.  There is
> no problem whatsoever but I was just bothered by the
> documentation on linux when I did a "man getpass".  The first line of the description says:
> 
> "This function is obsolete.  Do not use it."

The man pages are not the documentation of the GNU C library.  Read the
glibc info manual (or the manual that is available online in various
formats).  "info libc" might work on your system, if you have info reader
and the GNU C library manual installed. 

> do I have to implement my own in the future?

There is an example in the proper manual.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/



More information about the Libc-alpha mailing list