~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man3/getpass.3

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-11-17 16:35:58 UTC
  • mfrom: (1.1.45 upstream) (2.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101117163558-9h3ho5jumqm3rdmd
Tags: 3.27-1ubuntu1
* Merge from Debian unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
21
21
.\" USA.
22
22
.\"
23
 
.TH GETPASS 3  2000-12-05 "Linux" "Linux Programmer's Manual"
 
23
.TH GETPASS 3  2010-09-20 "Linux" "Linux Programmer's Manual"
24
24
.SH NAME
25
25
getpass \- get a password
26
26
.SH SYNOPSIS
27
27
.B #include <unistd.h>
28
28
.sp
29
29
.BI "char *getpass( const char *" prompt );
 
30
.sp
 
31
.in -4n
 
32
Feature Test Macro Requirements for glibc (see
 
33
.BR feature_test_macros (7)):
 
34
.in
 
35
.sp
 
36
.BR getpass ():
 
37
.ad l
 
38
.RS 4
 
39
.PD 0
 
40
.TP 4
 
41
Since glibc 2.2.2:
 
42
.nf
 
43
_BSD_SOURCE ||
 
44
    (_XOPEN_SOURCE\ >=\ 500 ||
 
45
        _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) &&
 
46
    !(_POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 600)
 
47
.TP 4
 
48
.fi
 
49
Before glibc 2.2.2: none
 
50
.PD
 
51
.RE
 
52
.ad b
30
53
.SH DESCRIPTION
31
54
This function is obsolete.
32
55
Do not use it.
124
147
.SH "SEE ALSO"
125
148
.BR crypt (3)
126
149
.SH COLOPHON
127
 
This page is part of release 3.26 of the Linux
 
150
This page is part of release 3.27 of the Linux
128
151
.I man-pages
129
152
project.
130
153
A description of the project,