diff options
author | Philippe Charnier <charnier@FreeBSD.org> | 2003-06-08 10:20:32 +0000 |
---|---|---|
committer | Philippe Charnier <charnier@FreeBSD.org> | 2003-06-08 10:20:32 +0000 |
commit | e4f2c10b4c03d7235e140c231bd5467667334ca1 (patch) | |
tree | 2928685304ae3134449f84bc9d2644e01928012a /lib/libcrypt | |
parent | 82f7b9cd41da5b27f191a77733f168439daa5930 (diff) | |
download | src-e4f2c10b4c03d7235e140c231bd5467667334ca1.tar.gz src-e4f2c10b4c03d7235e140c231bd5467667334ca1.zip |
The .Fn function
Notes
Notes:
svn path=/head/; revision=116027
Diffstat (limited to 'lib/libcrypt')
-rw-r--r-- | lib/libcrypt/crypt.3 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libcrypt/crypt.3 b/lib/libcrypt/crypt.3 index bcb3cfbed5c3..85cee0db92a6 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 , |