2013-11-24 15:00:12 +00:00
|
|
|
UPSCLI_CLEANUP(3)
|
|
|
|
=================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
|
|
|
|
upscli_cleanup - Clean-up upsclient module after usage.
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
|
|
|
#include <upsclient.h>
|
|
|
|
|
2022-06-29 10:37:36 +00:00
|
|
|
int upscli_cleanup(void);
|
2013-11-24 15:00:12 +00:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2022-06-29 10:37:36 +00:00
|
|
|
|
2013-11-24 15:00:12 +00:00
|
|
|
The *upscli_cleanup()* function flushes SSL caches and frees memory
|
|
|
|
used internally in upsclient module.
|
|
|
|
|
|
|
|
RETURN VALUE
|
|
|
|
------------
|
|
|
|
|
2022-06-29 10:37:36 +00:00
|
|
|
The *upscli_cleanup()* function returns 1 on success, or -1 if an error
|
|
|
|
occurs.
|
2013-11-24 15:00:12 +00:00
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2022-06-29 10:37:36 +00:00
|
|
|
|
2013-11-24 15:00:12 +00:00
|
|
|
linkman:upscli_init[3],
|
|
|
|
linkman:upscli_strerror[3], linkman:upscli_upserror[3]
|