GETPASS.3
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. GETPASS(3)                Minix Programmer's Manual                 GETPASS(3)
  2. NAME
  3.      getpass - read a password
  4. SYNOPSIS
  5.      #include <minix/minlib.h>
  6.      char *getpass(const char *prompt)
  7. DESCRIPTION
  8.      Getpass reads a password from the file /dev/tty, or  if  that  cannot  be
  9.      opened, from the standard input, after prompting with the null-terminated
  10.      string prompt and disabling echoing.  A pointer is returned  to  a  null-
  11.      terminated string of at most 32 characters, excluding the null.
  12. SEE ALSO
  13.      crypt(3).
  14. BUGS
  15.      The return value points to static data whose content  is  overwritten  by
  16.      each call.
  17.                                 May 15, 1985                                 1