"Fossies" - the Fresh Open Source Software Archive
Member "openssl-1.0.2q/doc/crypto/BIO_s_null.pod" (20 Nov 2018, 806 Bytes) of package /linux/misc/openssl-1.0.2q.tar.gz:
Caution: As a special service "Fossies" has tried to format the requested pod source page into HTML format but links to other pod pages may be missing or even errorneous.
Alternatively you can here view
the uninterpreted pod source code.
A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the last Fossies "Diffs"
side-by-side code changes report for "BIO_s_null.pod": 1.1.0g_vs_1.1.1-pre2
BIO_s_null - null data sink
BIO_METHOD * BIO_s_null(void);
BIO_s_null() returns the null sink BIO method. Data written to the null sink is discarded, reads return EOF.
A null sink BIO behaves in a similar manner to the Unix /dev/null device.
A null bio can be placed on the end of a chain to discard any data passed through it.
A null sink is useful if, for example, an application wishes to digest some data by writing through a digest bio but not send the digested data anywhere. Since a BIO chain must normally include a source/sink BIO this can be achieved by adding a null sink BIO to the end of the chain
BIO_s_null() returns the null sink BIO method.