getpass man page on Ultrix

Printed from http://www.polarhome.com/service/man/?qf=getpass&af=0&tf=2&of=Ultrix

getpass(3)							    getpass(3)

Name
       getpass - read a password

Syntax
       char *getpass(prompt)
       char *prompt;

Description
       The  subroutine	reads  a  password  from the file or if that cannot be
       opened, from the standard input, after prompting with  the  null-termi‐
       nated  string  prompt and disabling echoing.  The subroutine can return
       up to characters.  is defined in A pointer is returned to a null-termi‐
       nated string of at most 16 characters.

Environment
       When  your  program  is compiled using the System V environment, if the
       file cannot be opened, a NULL pointer is returned.  An  interrupt  will
       terminate  input	 and  send  an interrupt signal to the calling process
       before returning.

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

Files
See Also
								    getpass(3)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net