Sort sections, whitespace nit, use .In.
This commit is contained in:
parent
58cecadc76
commit
54c5fce210
14
crypto/dist/ssh/readpassphrase.3
vendored
14
crypto/dist/ssh/readpassphrase.3
vendored
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: readpassphrase.3,v 1.3 2005/02/13 06:01:36 christos Exp $
|
||||
.\" $NetBSD: readpassphrase.3,v 1.4 2005/02/20 21:10:04 wiz Exp $
|
||||
.\" $OpenBSD: readpassphrase.3,v 1.3 2001/08/06 10:42:25 mpech Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2000 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
@ -33,7 +33,7 @@
|
||||
.Nm readpassphrase
|
||||
.Nd get a passphrase from the user
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <readpassphrase.h>
|
||||
.In readpassphrase.h
|
||||
.Ft char *
|
||||
.Fn readpassphrase "const char *prompt" "char *buf" "size_t bufsiz" "int flags"
|
||||
.Sh DESCRIPTION
|
||||
@ -84,11 +84,15 @@ flag is set and
|
||||
is inaccessible,
|
||||
.Fn readpassphrase
|
||||
returns a null pointer.
|
||||
.Sh FILES
|
||||
.Bl -tag -width /dev/tty -compact
|
||||
.It Pa /dev/tty
|
||||
.El
|
||||
.Sh EXAMPLES
|
||||
The following code fragment will read a passphrase from
|
||||
.Pa /dev/tty
|
||||
into the buffer
|
||||
.Fa passbuf.
|
||||
.Fa passbuf .
|
||||
.Bd -literal -offset indent
|
||||
char passbuf[1024];
|
||||
|
||||
@ -105,10 +109,6 @@ if (compare(transform(passbuf), epass) != 0)
|
||||
|
||||
memset(passbuf, 0, sizeof(passbuf));
|
||||
.Ed
|
||||
.Sh FILES
|
||||
.Bl -tag -width /dev/tty -compact
|
||||
.It Pa /dev/tty
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr getpass 3
|
||||
.Sh HISTORY
|
||||
|
Loading…
x
Reference in New Issue
Block a user