This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getpass obsolete?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]