---
name: "OSSL_PARAM_print_to_bio"
section: "3ssl"
platform: "linux"
package: "openssl"
version: "3.6.5-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/OSSL_PARAM_print_to_bio"
---

# OSSL\_PARAM\_print\_to\_bio(3ssl)

OSSL\_PARAM interrogation utilities

## NAME

OSSL\_PARAM\_print\_to\_bio - OSSL\_PARAM interrogation utilities

## SYNOPSIS

```
 #include <openssl/params.h>
 int OSSL_PARAM_print_to_bio(const OSSL_PARAM *p, BIO *bio,
                             int print_values);
```

## DESCRIPTION

**OSSL\_PARAM\_print\_to\_bio()** formats each parameter contained in the passed in array of **OSSL\_PARAM** values *p*, and prints both the key, and optionally its value, to a provided **BIO**. *p* must be a non-null array of OSSL\_PARAM values, terminated with a value containing a null *key* member. *print\_values* is a control parameter, indicating that key values should be printed, in addition to key names.

## RETURN VALUES

**OSSL\_PARAM\_print\_to\_bio()** returns 1 on success, and 0 on failure

## HISTORY

**OSSL\_PARAM\_print\_to\_bio()** was added in OpenSSL 3.5

## COPYRIGHT

Copyright 2024 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\>.
