libnutclient_general - Man Page

General and utility functions in Network UPS Tools high-level client access library

Synopsis

        #include <nutclient.h>

        typedef void* NUTCLIENT_t;

        void nutclient_destroy(NUTCLIENT_t client);

        typedef char** strarr;

        strarr strarr_alloc(unsigned short count);

        void strarr_free(strarr arr);

Description

The nutclient_destroy() function destroys a NUTCLIENT_t or derived (like NUTCLIENT_TCP_t) connection object, and frees allocated memory.

Common arguments:

See Also

libnutclient(3)

Referenced By

libnutclient(3), libnutclient_commands(3), libnutclient_devices(3), libnutclient_tcp(3), libnutclient_variables(3).

The man page nutclient_destroy(3) is an alias of libnutclient_general(3).

04/22/2025 Network UPS Tools 2.8.3 NUT Manual