Reading a keystroke w/o echo
Randy Azarian
azarian at hpcc01.HP.COM
Thu May 23 09:56:27 AEST 1991
I am trying to write some C code that will be able to be portable to a number
of platforms (Unix, MVS, DOS, MPE) without modification of any kind. I/O will
be nothing fancy, using printf's and the like.
I need to accept a user password (that won't echo to the screen). So what I
am looking for is an ANSI-C routine that will accept a keystroke without
echoing it to the screen.
Does anyone know of such a function or a way to fool stdin/stdout to
accomplish the same thing?
More information about the Comp.lang.c
mailing list