mirror of https://github.com/mkerrisk/man-pages
encrypt.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c8ee75723b
commit
3f89e93db7
|
@ -31,26 +31,24 @@
|
|||
.SH NAME
|
||||
encrypt, setkey, encrypt_r, setkey_r \- encrypt 64-bit messages
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.BR "#define _XOPEN_SOURCE" " /* See feature_test_macros(7) */"
|
||||
.br
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.BI "void encrypt(char " block "[64], int " edflag );
|
||||
|
||||
.BR "#define _XOPEN_SOURCE" " /* See feature_test_macros(7) */"
|
||||
.br
|
||||
.B #include <stdlib.h>
|
||||
.PP
|
||||
.BI "void setkey(const char *" key );
|
||||
|
||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||
.br
|
||||
.B "#include <crypt.h>"
|
||||
.PP
|
||||
.BI "void setkey_r(const char *" key ", struct crypt_data *" data );
|
||||
.br
|
||||
.BI "void encrypt_r(char *" block ", int " edflag \
|
||||
", struct crypt_data *" data );
|
||||
.fi
|
||||
.PP
|
||||
Each of these requires linking with \fI\-lcrypt\fP.
|
||||
.SH DESCRIPTION
|
||||
|
|
Loading…
Reference in New Issue