umad_debug(3)

umad_debug3

Set debug level

Usage

#include <infiniband/umad.h>

int umad_debug(int level);

Overview

umad_debug() sets the umad library internal debug level to level. The following debug levels are supported: 0 - no debug (the default), 1 - basic debug information, 2 - verbose debug information. Negative values are ignored in terms of set. Note that the current debug level can be queried by passing a negative value as level.

Return value

umad_debug() returns the actual debug level.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0–9
  2. 10
  3. 11–Arch