source: trunk/minix/man/man3/getpass.3@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 636 bytes
Line 
1.\" @(#)getpass.3 6.1 (Berkeley) 5/15/85
2.\"
3.TH GETPASS 3 "May 15, 1985"
4.AT 3
5.SH NAME
6getpass \- read a password
7.SH SYNOPSIS
8.nf
9.ft B
10#include <minix/minlib.h>
11
12char *getpass(const char *\fIprompt\fP)
13.fi
14.SH DESCRIPTION
15.B Getpass
16reads a password from the file
17.BR /dev/tty ,
18or if that cannot be opened, from the standard input,
19after prompting with the null-terminated string
20.I prompt
21and disabling echoing.
22A pointer is returned to a null-terminated string
23of at most 32 characters, excluding the null.
24.SH "SEE ALSO"
25.BR crypt (3).
26.SH BUGS
27The return value points to static data
28whose content is overwritten by each call.
Note: See TracBrowser for help on using the repository browser.