logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

upscli_cleanup - Clean-up upsclient module after usage.

Description

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

Name

       upscli_cleanup - Clean-up upsclient module after usage.

Return Value

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

See Also

upscli_init(3), upscli_strerror(3), upscli_upserror(3)

Network UPS Tools 2.8.3                            07/08/2025                                  UPSCLI_CLEANUP(3)

Synopsis

               #include <upsclient.h>

               int upscli_cleanup(void);

See Also