Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include <stdlib.h>
  3.  
  4. char *
  5. getpass(const char *prompt)
  6. {
  7.   static char password_buffer[9];
  8.  
  9.   if (getlongpass(prompt, password_buffer, 9) < 0)
  10.     return 0;
  11.   return password_buffer;
  12. }
  13.  
  14.