1nbd_get_debug(3)                    LIBNBD                    nbd_get_debug(3)
2
3
4

NAME

6       nbd_get_debug - return the state of the debug flag
7

SYNOPSIS

9        #include <libnbd.h>
10
11        int nbd_get_debug (struct nbd_handle *h);
12

DESCRIPTION

14       Return the state of the debug flag on this handle.
15

RETURN VALUE

17       This call returns a boolean value.
18

ERRORS

20       This function does not fail.
21

VERSION

23       This function first appeared in libnbd 1.0.
24
25       If you need to test if this function is available at compile time check
26       if the following macro is defined:
27
28        #define LIBNBD_HAVE_NBD_GET_DEBUG 1
29

SEE ALSO

31       nbd_create(3), libnbd(3).
32

AUTHORS

34       Eric Blake
35
36       Richard W.M. Jones
37
39       Copyright (C) 2019 Red Hat Inc.
40

LICENSE

42       This library is free software; you can redistribute it and/or modify it
43       under the terms of the GNU Lesser General Public License as published
44       by the Free Software Foundation; either version 2 of the License, or
45       (at your option) any later version.
46
47       This library is distributed in the hope that it will be useful, but
48       WITHOUT ANY WARRANTY; without even the implied warranty of
49       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
50       Lesser General Public License for more details.
51
52       You should have received a copy of the GNU Lesser General Public
53       License along with this library; if not, write to the Free Software
54       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
55       02110-1301 USA
56
57
58
59libnbd-1.3.7                      2020-04-23                  nbd_get_debug(3)
Impressum