Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
BIO_read, BIO_number_read, BIO_gets, BIO_write, BIO_puts, BIO_indent, BIO_number_written — BIO I/O functionsSYNOPSIS
#include <openssl/bio.h>BIO_read(BIO *b, void *buf, int len);
BIO_number_read(BIO *b);
BIO_gets(BIO *b, char *buf, int size);
BIO_write(BIO *b, const void *buf, int len);
BIO_puts(BIO *b, const char *string);
BIO_indent(BIO *b, int indent, int max);
BIO_number_written(BIO *b);
DESCRIPTION
BIO_read() attempts to read len bytes from b and places the data in buf.- 1
. There are exceptions to this however, for example BIO_gets() on a digest BIO will calculate and return the digest and other BIOs may not support BIO_gets() at all. The returned string is always NUL-terminated.