about summary refs log tree commit diff
path: root/posix/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index afb08f5186..a8cf28b5e7 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -1116,7 +1116,11 @@ extern int fdatasync (int __fildes);
 #endif /* Use POSIX199309 */
 
 #ifdef __USE_MISC
-/* Encrypt at most 8 characters from KEY using salt to perturb DES.  */
+/* One-way hash PHRASE, returning a string suitable for storage in the
+   user database.  SALT selects the one-way function to use, and
+   ensures that no two users' hashes are the same, even if they use
+   the same passphrase.  The return value points to static storage
+   which will be overwritten by the next call to crypt.  */
 extern char *crypt (const char *__key, const char *__salt)
      __THROW __nonnull ((1, 2));
 #endif