diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-01-15 23:33:07 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-01-15 23:33:07 +0100 |
commit | d7200ac321f2138cb1bbf57eddd2c94ffc65d4cb (patch) | |
tree | 1279e7b468b63387ae52a32964c068fb1c00d850 | |
parent | 5efa68d57d0ec5461c5b93a2757da80a3b882e04 (diff) | |
download | man-pages-d7200ac321f2138cb1bbf57eddd2c94ffc65d4cb.tar.gz |
crypt.3: Reformat FTM info (in preparation for next patch)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man3/crypt.3 | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/man3/crypt.3 b/man3/crypt.3 index 746b6cab66..e0d47e3071 100644 --- a/man3/crypt.3 +++ b/man3/crypt.3 @@ -38,12 +38,10 @@ crypt, crypt_r \- password and data encryption .SH SYNOPSIS .nf -.BR "#define _XOPEN_SOURCE" " /* See feature_test_macros(7) */" .B #include <unistd.h> .PP .BI "char *crypt(const char *" key ", const char *" salt ); .PP -.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <crypt.h> .PP .BI "char *crypt_r(const char *" key ", const char *" salt , @@ -51,6 +49,22 @@ crypt, crypt_r \- password and data encryption .fi .PP Link with \fI\-lcrypt\fP. +.PP +.RS -4 +Feature Test Macro Requirements for glibc (see +.BR feature_test_macros (7)): +.RE +.PP +.BR crypt (): +.nf + __XOPEN_SOURCE +.fi +.BR +.PP +.BR crypt_r (): +.nf + _GNU_SOURCE +.fi .SH DESCRIPTION .BR crypt () is the password encryption function. |