2

Possible Duplicate:
Getting a password in C without using getpass (3)?

man 3 getpass

DESCRIPTION
       This function is obsolete.  Do not use it.

I don't like in general the word "obsolete" or "deprecated" without "Use function 'X' instead" nearby.

What simple thing should I use to read a password from from user in CUI program in C on GNU/Linux? The password is for encryption/decryption, but not related to PAM,GPG,SSH or any other big thing.

Community
  • 1
  • 1
Vi.
  • 37,014
  • 18
  • 93
  • 148

0 Answers0