home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat3 / getpass.3 < prev    next >
Encoding:
Text File  |  1993-03-03  |  1020 b   |  67 lines

  1.  
  2.  
  3.  
  4. GETPASS(3)          MINTLIB LIBRARY FUNCTIONS          GETPASS(3)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        getpass - read a password
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        #include <unistd.h>
  12.  
  13.        char *getpass(const char *prompt);
  14.  
  15. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  16.        getpass  reads  up to a newline or EOF from standard input
  17.        (TOS) or /dev/tty (MiNT), after prompting on the  standard
  18.        error  output  with  the null-terminated string prompt and
  19.        disabling echoing.  A  pointer  is  returned  to  a  null-
  20.        terminated string of at most PASS_MAX characters. PASS_MAX
  21.        is defined in <limits.h> and has curently been set to 8.
  22.  
  23. W✓WA✓AR✓RN✓NI✓IN✓NG✓G
  24.        getpass uses <stdio.h>,  which  may  cause  an  unexpected
  25.        increase  in  the  size  of  a program not otherwise using
  26.        standard I/O.
  27.  
  28.        The return value points to static data whose  contents  is
  29.        overwritten by each call.
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. MiNT docs 0.1              3 March 1993                         1
  65.  
  66.  
  67.