diff options
| author | mmcc <> | 2016-03-12 21:31:22 +0000 |
|---|---|---|
| committer | mmcc <> | 2016-03-12 21:31:22 +0000 |
| commit | d7e23979f786be3c146be16ec4363c6da83c906e (patch) | |
| tree | 41d48a54c09f49f4e37617cd4f79d217bf4250a8 /src/lib/libcrypto/man/BUF_MEM_new.3 | |
| parent | 7dcc5e245914ca63e2d707bd58bb281cadf8e648 (diff) | |
| download | openbsd-d7e23979f786be3c146be16ec4363c6da83c906e.tar.gz openbsd-d7e23979f786be3c146be16ec4363c6da83c906e.tar.bz2 openbsd-d7e23979f786be3c146be16ec4363c6da83c906e.zip | |
Remove sentences in RETURN VALUES sections saying that functions with
void return types 'return no value'. This is obvious and therefore
unneccessary to mention.
We spare rewind(3)'s sentence because espie@ pointed out that it's a
warning - the function masks a potential error.
This commit also adds a sentence to X509_free clarifying that it's
NULL-safe. This bit was discussed with doug@.
ok martijn@, sentiment supported by schwarze@
Diffstat (limited to 'src/lib/libcrypto/man/BUF_MEM_new.3')
| -rw-r--r-- | src/lib/libcrypto/man/BUF_MEM_new.3 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/BUF_MEM_new.3 b/src/lib/libcrypto/man/BUF_MEM_new.3 index f87e4f8257..10258b7aaf 100644 --- a/src/lib/libcrypto/man/BUF_MEM_new.3 +++ b/src/lib/libcrypto/man/BUF_MEM_new.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .Dd $Mdocdate: September 22 2015 $ | 1 | .Dd $Mdocdate: March 12 2016 $ |
| 2 | .Dt BUF_MEM_NEW 3 | 2 | .Dt BUF_MEM_NEW 3 |
| 3 | .Os | 3 | .Os |
| 4 | .Sh NAME | 4 | .Sh NAME |
| @@ -89,9 +89,6 @@ returns the buffer or | |||
| 89 | .Dv NULL | 89 | .Dv NULL |
| 90 | on error. | 90 | on error. |
| 91 | .Pp | 91 | .Pp |
| 92 | .Fn BUF_MEM_free | ||
| 93 | returns no value. | ||
| 94 | .Pp | ||
| 95 | .Fn BUF_MEM_grow | 92 | .Fn BUF_MEM_grow |
| 96 | returns zero on error or the new size (i.e. | 93 | returns zero on error or the new size (i.e. |
| 97 | .Fa len Ns ). | 94 | .Fa len Ns ). |
