encrypt.3: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-08-20 12:44:34 +02:00
parent c8ee75723b
commit 3f89e93db7
1 changed files with 2 additions and 4 deletions

View File

@ -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