diff --git a/man3/encrypt.3 b/man3/encrypt.3 index 3df4870c3..7b8dda8b9 100644 --- a/man3/encrypt.3 +++ b/man3/encrypt.3 @@ -154,16 +154,18 @@ The and .BR setkey () functions are part of the POSIX.1-2008 XSI Options Group for Encryption -and are optional. If the interfaces are not available then the symbolic -constant +and are optional. +If the interfaces are not available then the symbolic constant .BR _XOPEN_CRYPT is either not defined or defined to -1, and can be checked at runtime with .BR sysconf (). This may be the case if the downstream distribution has switched from glibc -crypt to libxcrypt. When recompiling applications in such distributions the +crypt to libxcrypt. +When recompiling applications in such distributions the user must detect if .BR _XOPEN_CRPYT -is not available and include crypt.h for the function prototypes; otherwise +is not available and include crypt.h for the function prototypes; +otherwise libxcrypt is a ABI compatible drop-in replacement. .SS Features in glibc In glibc 2.2, these functions use the DES algorithm.