BIO_S_NULL(3ossl)
πΈ NAME πΈ
BIO_s_null β null data sink. This is the 3ossl manual page, bestie, and it's literally about a sink that takes data and sends it nowhere. π
β¨ SYNOPSIS β¨
#include <openssl/bio.h>
const BIO_METHOD *BIO_s_null(void);
π¦ DESCRIPTION π¦
Okay so BIO_s_null() returns the null sink BIO method. That's the whole plot. Data written to the null sink is discarded β gone, bye, not stored β and reads return EOF. No cap. π
π NOTES π
- A null sink BIO behaves in a similar manner to the Unix
/dev/nulldevice. Iconic behavior, honestly. π³οΈ - A null bio can be placed on the end of a chain to discard any data passed through it. It's giving βfinal destination: nowhere.β β¨
- 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 π«Ά
π RETURN VALUES π
BIO_s_null() returns the null sink BIO method. That's it β the return value is the method, bestie. π«Ά
π COPYRIGHT π
Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
π cute sign-off: this page is from OpenSSL source/version3.5.0, dated2026-09-25, and its manual tag isBIO_S_NULL(3ossl). Bye bestie, go discard some data responsibly π β¨
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms