This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: getpass obsolete?
- From: Marcus Brinkmann <Marcus dot Brinkmann at ruhr-uni-bochum dot de>
- To: Carlo Florendo <carlo at astra dot ph>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 27 May 2003 17:35:24 +0200
- Subject: Re: getpass obsolete?
- References: <000b01c3242f$11495fb0$200aa8c0@thorin>
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/