rpma_log_get_threshold(3)

rpma_log_get_threshold3

Get the logging threshold level

Usage

      #include <librpma.h>
      int rpma_log_get_threshold(enum rpma_log_threshold threshold, enum rpma_log_level *level);

Overview

rpma_log_get_threshold() gets the current level of the threshold. See rpma_log_set_threshold(3) for available thresholds and levels.

Return value

rpma_log_get_threshold() function returns 0 on success or a negative error code on failure.

Errors

rpma_log_get_threshold() can fail with the following errors:

•

RPMA_E_INVAL - threshold is not RPMA_LOG_THRESHOLD nor RPMA_LOG_THRESHOLD_AUX

•

RPMA_E_INVAL - *level is NULL

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From librpma-dev 1.3.0-2+b3 in Debian 13 (Trixie). Parsed by carta from the page's man source.