From bc7ec1835e00740b7c9811c91a5b7475ac15217c Mon Sep 17 00:00:00 2001 From: charnier Date: Sun, 8 Jun 2003 10:20:32 +0000 Subject: The .Fn function --- lib/libcrypt/crypt.3 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/libcrypt') diff --git a/lib/libcrypt/crypt.3 b/lib/libcrypt/crypt.3 index bcb3cfb..85cee0d 100644 --- a/lib/libcrypt/crypt.3 +++ b/lib/libcrypt/crypt.3 @@ -234,14 +234,17 @@ file using the .Va crypt_default property. .Sh RETURN VALUES +The .Fn crypt -returns a pointer to the encrypted value on success, and NULL on failure. +function returns a pointer to the encrypted value on success, and NULL on +failure. Note: this is not a standard behaviour, AT&T .Fn crypt will always return a pointer to a string. .Pp +The .Fn crypt_set_format -will return 1 if the supplied encoding format was valid. +function will return 1 if the supplied encoding format was valid. Otherwise, a value of 0 is returned. .Sh SEE ALSO .Xr login 1 , -- cgit v1.1