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 be NULL: "h". for more info see "Non-NULL parameters" in libnbd(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 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