*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> getpass (3c)              


getpass(3C)							   getpass(3C)

NAME    [Toc]    [Back]

     getpass - read a password

SYNOPSIS    [Toc]    [Back]

     #include <stdlib.h>

     char *getpass (const char *prompt);

DESCRIPTION    [Toc]    [Back]

     getpass reads up to a newline or EOF from the file	/dev/tty, after
     prompting on the standard error output with the null-terminated string
     prompt and	disabling echoing.  A pointer is returned to a null-terminated
     string of at most 8 characters.  If /dev/tty cannot be opened, a null
     pointer is	returned.  An interrupt	will terminate input and send an
     interrupt signal to the calling program before returning.

FILES    [Toc]    [Back]


NOTE    [Toc]    [Back]

     The return	value points to	static data whose content is overwritten by
     each call.

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
yppasswd Tru64 Update user password in Network Information Service (NIS) password map.
passwd IRIX change login password and password attributes
tis_read_unlock Tru64 Unlocks a read-write lock that was acquired for read access
pthread_rwlock_rdlock Tru64 Acquires a read-write lock for read access
tis_read_lock Tru64 Acquires a read-write lock for read access
AFreadmisc IRIX read from / write to / move logical read/write pointer for data in a miscellaneous chunk in an audio file
tis_read_trylock Tru64 Attempts to acquire a read-write lock for read access and does not wait if the lock cannot be immedi...
vipw Linux edit the password, group, shadow-password, or shadow-group file.
string2key OpenBSD map a password into a key
getpass NetBSD get a password
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service