getpass and /dev/tty

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Apr 4 08:58:00 GMT 2012


On Apr  4 08:23, Denis Excoffier wrote:
> 
> Hello!
> 
> Would it be possible that getpass() first reads on /dev/tty before
> defaulting to stdin?

Yeah, that makes sense.  I'll rework the function to behave more like
glibc's version of getpass.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list