168651Skris=pod
268651Skris
368651Skris=head1 NAME
468651Skris
568651SkrisBIO_s_null - null data sink
668651Skris
768651Skris=head1 SYNOPSIS
868651Skris
968651Skris #include <openssl/bio.h>
1068651Skris
1168651Skris BIO_METHOD *	BIO_s_null(void);
1268651Skris
1368651Skris=head1 DESCRIPTION
1468651Skris
1568651SkrisBIO_s_null() returns the null sink BIO method. Data written to
1668651Skristhe null sink is discarded, reads return EOF.
1768651Skris
1868651Skris=head1 NOTES
1968651Skris
2068651SkrisA null sink BIO behaves in a similar manner to the Unix /dev/null
2168651Skrisdevice.
2268651Skris
2368651SkrisA null bio can be placed on the end of a chain to discard any data
2468651Skrispassed through it.
2568651Skris
2668651SkrisA null sink is useful if, for example, an application wishes to digest some
2768651Skrisdata by writing through a digest bio but not send the digested data anywhere.
2868651SkrisSince a BIO chain must normally include a source/sink BIO this can be achieved
2968651Skrisby adding a null sink BIO to the end of the chain
3068651Skris
3168651Skris=head1 RETURN VALUES
3268651Skris
3368651SkrisBIO_s_null() returns the null sink BIO method.
3468651Skris
3568651Skris=head1 SEE ALSO
3668651Skris
3768651SkrisTBA
38