diff options
author | guenther <> | 2012-06-02 00:14:16 +0000 |
---|---|---|
committer | guenther <> | 2012-06-02 00:14:16 +0000 |
commit | 0e75ebe6fc3d4043e79e7c89766f56e43c180169 (patch) | |
tree | 6ce2615061c4f0a807ba0bf577a1a5f00b84d0d5 /src/lib/libc/crypt | |
parent | cb798cd101f47ccce02cb08724d7b433ebbe041d (diff) | |
download | openbsd-0e75ebe6fc3d4043e79e7c89766f56e43c180169.tar.gz openbsd-0e75ebe6fc3d4043e79e7c89766f56e43c180169.tar.bz2 openbsd-0e75ebe6fc3d4043e79e7c89766f56e43c180169.zip |
Update STANDARDS section for a few <stdlib.h> functions
Update SYNOPSIS for setkey() to show it's in <stdlib.h>
ok jmc@, millert@
Diffstat (limited to 'src/lib/libc/crypt')
-rw-r--r-- | src/lib/libc/crypt/crypt.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libc/crypt/crypt.3 b/src/lib/libc/crypt/crypt.3 index b58894d9ad..8415f28b9b 100644 --- a/src/lib/libc/crypt/crypt.3 +++ b/src/lib/libc/crypt/crypt.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: crypt.3,v 1.27 2007/10/08 11:55:27 pyr Exp $ | 1 | .\" $OpenBSD: crypt.3,v 1.28 2012/06/02 00:14:16 guenther Exp $ |
2 | .\" | 2 | .\" |
3 | .\" FreeSec: libcrypt | 3 | .\" FreeSec: libcrypt |
4 | .\" | 4 | .\" |
@@ -31,7 +31,7 @@ | |||
31 | .\" | 31 | .\" |
32 | .\" Manual page, using -mandoc macros | 32 | .\" Manual page, using -mandoc macros |
33 | .\" | 33 | .\" |
34 | .Dd $Mdocdate: October 8 2007 $ | 34 | .Dd $Mdocdate: June 2 2012 $ |
35 | .Dt CRYPT 3 | 35 | .Dt CRYPT 3 |
36 | .Os | 36 | .Os |
37 | .Sh NAME | 37 | .Sh NAME |
@@ -45,13 +45,14 @@ | |||
45 | .Nm md5crypt | 45 | .Nm md5crypt |
46 | .Nd DES encryption | 46 | .Nd DES encryption |
47 | .Sh SYNOPSIS | 47 | .Sh SYNOPSIS |
48 | .Fd #include <pwd.h> | 48 | .Fd #include <stdlib.h> |
49 | .Ft int | ||
50 | .Fn setkey "const char *key" | ||
51 | .Pp | ||
49 | .Fd #include <unistd.h> | 52 | .Fd #include <unistd.h> |
50 | .Ft char * | 53 | .Ft char * |
51 | .Fn crypt "const char *key" "const char *setting" | 54 | .Fn crypt "const char *key" "const char *setting" |
52 | .Ft int | 55 | .Ft int |
53 | .Fn setkey "const char *key" | ||
54 | .Ft int | ||
55 | .Fn encrypt "char *block" "int flag" | 56 | .Fn encrypt "char *block" "int flag" |
56 | .Ft int | 57 | .Ft int |
57 | .Fn des_setkey "const char *key" | 58 | .Fn des_setkey "const char *key" |