diff options
| author | guenther <> | 2012-06-02 00:14:16 +0000 |
|---|---|---|
| committer | guenther <> | 2012-06-02 00:14:16 +0000 |
| commit | 252e6921a6c818d47ce411ea5cb12877b2b5f67c (patch) | |
| tree | 6ce2615061c4f0a807ba0bf577a1a5f00b84d0d5 /src/lib/libc/crypt | |
| parent | bda61de216b7a7f245c8e3e25e5d70f4dd73ae5c (diff) | |
| download | openbsd-252e6921a6c818d47ce411ea5cb12877b2b5f67c.tar.gz openbsd-252e6921a6c818d47ce411ea5cb12877b2b5f67c.tar.bz2 openbsd-252e6921a6c818d47ce411ea5cb12877b2b5f67c.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 '')
| -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" |
