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
|
.SH NAME
|
||||||
encrypt, setkey, encrypt_r, setkey_r \- encrypt 64-bit messages
|
encrypt, setkey, encrypt_r, setkey_r \- encrypt 64-bit messages
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
.BR "#define _XOPEN_SOURCE" " /* See feature_test_macros(7) */"
|
.BR "#define _XOPEN_SOURCE" " /* See feature_test_macros(7) */"
|
||||||
.br
|
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "void encrypt(char " block "[64], int " edflag );
|
.BI "void encrypt(char " block "[64], int " edflag );
|
||||||
|
|
||||||
.BR "#define _XOPEN_SOURCE" " /* See feature_test_macros(7) */"
|
.BR "#define _XOPEN_SOURCE" " /* See feature_test_macros(7) */"
|
||||||
.br
|
|
||||||
.B #include <stdlib.h>
|
.B #include <stdlib.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "void setkey(const char *" key );
|
.BI "void setkey(const char *" key );
|
||||||
|
|
||||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||||
.br
|
|
||||||
.B "#include <crypt.h>"
|
.B "#include <crypt.h>"
|
||||||
.PP
|
.PP
|
||||||
.BI "void setkey_r(const char *" key ", struct crypt_data *" data );
|
.BI "void setkey_r(const char *" key ", struct crypt_data *" data );
|
||||||
.br
|
|
||||||
.BI "void encrypt_r(char *" block ", int " edflag \
|
.BI "void encrypt_r(char *" block ", int " edflag \
|
||||||
", struct crypt_data *" data );
|
", struct crypt_data *" data );
|
||||||
|
.fi
|
||||||
.PP
|
.PP
|
||||||
Each of these requires linking with \fI\-lcrypt\fP.
|
Each of these requires linking with \fI\-lcrypt\fP.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
Loading…
Reference in New Issue