nbd_get_full_info(3)
β¨ nbd_get_full_info β¨
okay so bestie, welcome to libnbd(3)'s cutest little query function β nbd_get_full_info π
she's the one who tells you whether NBD_OPT_GO is out here requesting extra details, iykyk.
Think of her as the vibe check for the full info request flag on your handle. π
πΈ SYNOPSIS πΈ
#include <libnbd.h>
int nbd_get_full_info (
struct nbd_handle *h
);
π DESCRIPTION π
She returns the state of the full info request flag on this handle. that's it, that's the whole personality. β¨ a literal yes/no queen.
π RETURN VALUE π
This call returns a boolean value. true or false, no in-between, periodt. π
π₯ ERRORS π₯
On error -1 is returned. π
Refer to "ERROR HANDLING" in libnbd(3) for how to get further details of the error.
heads up bestie: the following parameters must not beNULL:"h". for more info see "Non-NULL parameters" inlibnbd(3). fr fr, don't pass a NULL handle, she will not be slaying that day. π
π¦ VERSION π¦
This function first appeared in libnbd 1.4. so she's been iconic for a minute. π
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_FULL_INFO 1
π SEE ALSO π
the whole friend group, honestly. π«Ά
πΈ AUTHORS πΈ
- Eric Blake
- Richard W.M. Jones
genuine legends, we stan. π
π COPYRIGHT π
Copyright Red Hat
π§ LICENSE π§
okay so this next part is the legal bit and you already know she's serious, so read it properly bestie:
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 whole page, bestie π mwah! this one's from libnbd-1.25.8, dated 2026-10-13 β go forth and check your flags, you absolute main character. ππ
π¦ where this page comes from
- centos-stream 10: libnbd-devel 1.25.8-1.el10 Β· LGPL-2.0-or-later AND BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms