Add s comment to wolfSSL_BIO_tell

This commit is contained in:
TakayukiMatsuo
2021-03-04 15:41:03 +09:00
parent 362d2a2d68
commit 871933e3e8

View File

@@ -1439,6 +1439,11 @@ int wolfSSL_BIO_seek(WOLFSSL_BIO *bio, int ofs)
return 0; return 0;
} }
/* wolfSSL_BIO_tell is provided as compatible API with
* BIO_tell which returns the current file position of a file related BIO.
* Returns the current file position on success and -1 for failure.
* Returns 0 for a BIOs except file related BIO.
*/
int wolfSSL_BIO_tell(WOLFSSL_BIO* bio) int wolfSSL_BIO_tell(WOLFSSL_BIO* bio)
{ {
int pos; int pos;