nbd_get_tls_priority(3)
β¨ nbd_get_tls_priority β¨
okay so this is a libnbd(3) page, bestie β buckle up π
πΈ NAME πΈ
nbd_get_tls_priority β literally just gets the current TLS priority. that's it. that's the whole job π
π¦ SYNOPSIS π¦
#include <libnbd.h>
char * nbd_get_tls_priority (
struct nbd_handle *h
);
π DESCRIPTION π
Get the current TLS priority. iconic behavior honestly π₯
So like β if nobody ever called nbd_set_tls_priority(3) before you got here? no worries. in that case this returns the compile time default TLS priority. the factory setting, the og vibe, the one it was born with β¨
π RETURN VALUE π
This call returns a string. The caller must free the returned string to avoid a memory leak. bestie please free it π don't just leave it lying around, that's how leaks happen and leaks are not the vibe.
π ERRORS π
On error NULL is returned. yep. nothing. void. the call said π
Refer to "ERROR HANDLING" in libnbd(3) for how to get further details of the error β that's where the actual tea is.
The following parameters must not be NULL: h. For more information see "Non-NULL parameters" in libnbd(3). so like, hand it a real handle, fr fr π«Ά
β VERSION β
This function first appeared in libnbd 1.24. a little baby π
If you need to test if this function is available at compile time check if the following macro is defined:
#define LIBNBD_HAVE_NBD_GET_TLS_PRIORITY 1
iykyk π§
π SEE ALSO π
π AUTHORS π
- Eric Blake
- Richard W.M. Jones
legends, no cap π
πΈ COPYRIGHT πΈ
Copyright Red Hat
π LICENSE π
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
and that's the page!! πβ¨ this was brought to you by libnbd-1.24.4, dated 2026-10-13 β mwah, go free your strings π«Άπ
π¦ where this page comes from
- arch rolling: libnbd 1.24.4-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms