summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-10-08 11:55:28 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-10-08 11:55:28 +0000
commitb17bbacc62ee672e65647a03b85504e6a19f0549 (patch)
tree5cb146166f3a9f44e3cf0381fb14db9e388ee189 /lib/libc
parentdbf262cfaa8934a39e0420c2d83b2d5c3be59321 (diff)
add a RETURN VALUES section.
ok jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/crypt/crypt.318
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/crypt/crypt.3 b/lib/libc/crypt/crypt.3
index 3a74944af6f..b58894d9adb 100644
--- a/lib/libc/crypt/crypt.3
+++ b/lib/libc/crypt/crypt.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: crypt.3,v 1.26 2007/05/31 19:19:27 jmc Exp $
+.\" $OpenBSD: crypt.3,v 1.27 2007/10/08 11:55:27 pyr Exp $
.\"
.\" FreeSec: libcrypt
.\"
@@ -31,7 +31,7 @@
.\"
.\" Manual page, using -mandoc macros
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: October 8 2007 $
.Dt CRYPT 3
.Os
.Sh NAME
@@ -265,6 +265,13 @@ specifies perturbations to the
.Tn DES
E-box output as described above.
.Pp
+The
+.Fn crypt ,
+.Fn setkey ,
+and
+.Fn des_setkey
+functions all manipulate the same key space.
+.Sh RETURN VALUES
The function
.Fn crypt
returns a pointer to the encrypted value on success, and
@@ -277,13 +284,6 @@ The functions
and
.Fn des_cipher
return 0 on success and 1 on failure.
-.Pp
-The
-.Fn crypt ,
-.Fn setkey ,
-and
-.Fn des_setkey
-functions all manipulate the same key space.
.Sh SEE ALSO
.Xr login 1 ,
.Xr passwd 1 ,