aboutsummaryrefslogtreecommitdiffstats
path: root/man3/encrypt.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-19 04:30:20 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-19 04:30:20 +0000
commit2b2581ee37f080c0a95d20aedecd5cb04e81ef4a (patch)
tree4ce1a3bcc3cd8793e50f48abba8eab04c8e7ea07 /man3/encrypt.3
parent2dd578fd5b80cbfe5892b200633aa1442c4ac674 (diff)
downloadman-pages-2b2581ee37f080c0a95d20aedecd5cb04e81ef4a.tar.gz
Fix inconsistencies in order of .SH sections
Diffstat (limited to 'man3/encrypt.3')
-rw-r--r--man3/encrypt.326
1 files changed, 13 insertions, 13 deletions
diff --git a/man3/encrypt.3 b/man3/encrypt.3
index 0cf48f4f51..7c975e44a8 100644
--- a/man3/encrypt.3
+++ b/man3/encrypt.3
@@ -112,6 +112,19 @@ On success, it is unchanged.
.BR ENOSYS
The function is not provided.
(For example because of former USA export restrictions.)
+.SH "CONFORMING TO"
+The functions
+.BR encrypt ()
+and
+.BR setkey ()
+conform to SVr4, SUSv2, and POSIX.1-2001.
+The functions
+.BR encrypt_r ()
+and
+.BR setkey_r ()
+are GNU extensions.
+.SH NOTES
+In glibc 2.2 these functions use the DES algorithm.
.SH EXAMPLE
You need to link with libcrypt to compile this example with glibc 2.2.
To do useful work the key[] and txt[] arrays must be filled with a
@@ -133,19 +146,6 @@ main(void)
encrypt(txt, 1); /* decode */
}
.fi
-.SH NOTES
-In glibc 2.2 these functions use the DES algorithm.
-.SH "CONFORMING TO"
-The functions
-.BR encrypt ()
-and
-.BR setkey ()
-conform to SVr4, SUSv2, and POSIX.1-2001.
-The functions
-.BR encrypt_r ()
-and
-.BR setkey_r ()
-are GNU extensions.
.SH "SEE ALSO"
.BR cbc_crypt (3),
.BR crypt (3),