upscli_cleanup(3)

upscli_cleanup3

Clean-up upsclient module after usage.

Usage

        #include <upsclient.h>
        int upscli_cleanup(void);

Overview

The upscli_cleanup() function flushes SSL caches and frees memory used internally in upsclient module.

Return value

The upscli_cleanup() function returns 1 on success, or -1 if an error occurs.

Releases

7 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9–11
  3. 12
  4. 13
  5. Arch

From nut 2.8.5-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.