hint that crypt() et. al. are declared in unistd.h; from Jon Buller in
PR lib/3488.
This commit is contained in:
parent
11b0f01c17
commit
a353b3aa7b
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: crypt.3,v 1.3 1995/10/12 15:41:24 jtc Exp $
|
||||
.\" $NetBSD: crypt.3,v 1.4 1997/04/18 06:32:16 mikel Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1989, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -44,6 +44,7 @@
|
||||
.Nm des_cipher
|
||||
.Nd DES encryption
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.Ft char
|
||||
.Fn *crypt "const char *key" "const char *setting"
|
||||
.Ft int
|
||||
@ -56,7 +57,7 @@
|
||||
.Fn des_cipher "const char *in" "char *out" "long salt" "int count"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Xr crypt
|
||||
.Fn crypt
|
||||
function
|
||||
performs password encryption.
|
||||
It is derived from the
|
||||
@ -134,7 +135,7 @@ are used, and the returned value is a
|
||||
string 13 bytes in length.
|
||||
.Pp
|
||||
The
|
||||
functions,
|
||||
functions
|
||||
.Fn encrypt ,
|
||||
.Fn setkey ,
|
||||
.Fn des_setkey
|
||||
|
Loading…
Reference in New Issue
Block a user