diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-09-12 01:56:56 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-09-12 01:56:56 +0000 |
commit | d572cb6c1c95c1371b9c1eb986d4736c53fa9f40 (patch) | |
tree | fda51fbe0fe79d67f5ee3d06672cb79f36fea51e /doc/crypto/BIO_read.pod | |
parent | 05c2b37176e15f86f2ca2f96745f5258aa9b1192 (diff) |
More BIO docs.
Diffstat (limited to 'doc/crypto/BIO_read.pod')
-rw-r--r-- | doc/crypto/BIO_read.pod | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/crypto/BIO_read.pod b/doc/crypto/BIO_read.pod index 16787e386e..6c001a3092 100644 --- a/doc/crypto/BIO_read.pod +++ b/doc/crypto/BIO_read.pod @@ -32,11 +32,12 @@ BIO_puts() attempts to write a null terminated string B<buf> to BIO B<b> All these functions return either the amount of data successfully read or written (if the return value is positive) or that no data was successfully -read or written (if the result is zero or negative). +read or written if the result is 0 or -1. If the return value is -2 then +the operation is not implemented in the specific BIO type. =head1 NOTES -A negative or zero return is not necessarily an indication of an error. In +A 0 or -1 return is not necessarily an indication of an error. In particular when the source/sink is non-blocking or of a certain type (for example an SSL BIO can retry even if the underlying connection is blocking) it may merely be an indication that no data is currently available and that |