The man-page crypt_checkpass.3 makes a reference to the constant '_PASSWORD_LEN' which is defined in <pwd.h> but doesn't say so.
Index: lib/libc/crypt/crypt_checkpass.3 =================================================================== RCS file: /cvs/src/lib/libc/crypt/crypt_checkpass.3,v retrieving revision 1.12 diff -u -p -u -p -r1.12 crypt_checkpass.3 --- lib/libc/crypt/crypt_checkpass.3 29 Jul 2019 23:14:06 -0000 1.12 +++ lib/libc/crypt/crypt_checkpass.3 29 Oct 2021 06:52:05 -0000 @@ -22,6 +22,7 @@ .Nm crypt_newhash .Nd password hashing .Sh SYNOPSIS +.In pwd.h .In unistd.h .Ft int .Fn crypt_checkpass "const char *password" "const char *hash"