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