Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen .Nm -> .Fn.
details: https://anonhg.NetBSD.org/src/rev/82428c58cd99
branches: trunk
changeset: 754623:82428c58cd99
user: jruoho <jruoho%NetBSD.org@localhost>
date: Thu May 06 11:09:39 2010 +0000
description:
.Nm -> .Fn.
diffstat:
lib/libc/gen/getpass.3 | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (60 lines):
diff -r ba4c9feaf4a1 -r 82428c58cd99 lib/libc/gen/getpass.3
--- a/lib/libc/gen/getpass.3 Thu May 06 10:49:53 2010 +0000
+++ b/lib/libc/gen/getpass.3 Thu May 06 11:09:39 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: getpass.3,v 1.12 2010/04/30 05:50:46 jruoho Exp $
+.\" $NetBSD: getpass.3,v 1.13 2010/05/06 11:09:39 jruoho Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)getpass.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd April 30, 2010
+.Dd May 6, 2010
.Dt GETPASS 3
.Os
.Sh NAME
@@ -48,7 +48,7 @@
function displays a prompt to, and reads in a password from,
.Pa /dev/tty .
If this file is not accessible,
-.Nm
+.Fn getpass
displays the prompt on the standard error output and reads from the standard
input.
.Pp
@@ -57,10 +57,10 @@
Any additional
characters and the terminating newline character are discarded.
.Pp
-.Nm
+.Fn getpass
turns off character echoing while reading the password.
.Sh RETURN VALUES
-.Nm
+.Fn getpass
returns a pointer to the null terminated password.
.Sh FILES
.Bl -tag -width /dev/tty -compact
@@ -79,16 +79,16 @@
standard.
.Sh HISTORY
A
-.Nm
+.Fn getpass
function appeared in
.At v7 .
.Sh BUGS
The
-.Nm
+.Fn getpass
function leaves its result in an internal static object and returns
a pointer to that object.
Subsequent calls to
-.Nm
+.Fn getpass
will modify the same object.
.Sh SECURITY CONSIDERATIONS
The calling process should zero the password as soon as possible to
Home |
Main Index |
Thread Index |
Old Index