Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
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 ,
.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.