OSDN Git Service

(split) LDP man-pages の original/ を v3.29 に更新。
[linuxjm/LDP_man-pages.git] / original / man3 / getpass.3
index bc9c854..d363ec4 100644 (file)
 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
 .\" USA.
 .\"
-.TH GETPASS 3  2000-12-05 "Linux" "Linux Programmer's Manual"
+.TH GETPASS 3  2010-09-20 "Linux" "Linux Programmer's Manual"
 .SH NAME
 getpass \- get a password
 .SH SYNOPSIS
 .B #include <unistd.h>
 .sp
 .BI "char *getpass( const char *" prompt );
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.BR getpass ():
+.ad l
+.RS 4
+.PD 0
+.TP 4
+Since glibc 2.2.2:
+.nf
+_BSD_SOURCE ||
+    (_XOPEN_SOURCE\ >=\ 500 ||
+        _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
+    !(_POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 600)
+.TP 4
+.fi
+Before glibc 2.2.2: none
+.PD
+.RE
+.ad b
 .SH DESCRIPTION
 This function is obsolete.
 Do not use it.