1UPSCLI_CLEANUP(3)                 NUT Manual                 UPSCLI_CLEANUP(3)
2
3
4

NAME

6       upscli_cleanup - Clean-up upsclient module after usage.
7

SYNOPSIS

9       #include <upsclient.h>
10
11       int upscli_cleanup(void);
12

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

22       upscli_init(3), upscli_strerror(3), upscli_upserror(3)
23
24
25
26Network UPS Tools 2.8.0           04/26/2022                 UPSCLI_CLEANUP(3)
Impressum