upscli_get_default_connect_timeout(3)

upscli_get_default_connect_timeout3

Return the upsclient module default timeout for initial connections.

Usage

        #include <upsclient.h>
        int upscli_get_default_connect_timeout(struct timeval *ptv);

Overview

The upscli_get_default_connect_timeout() function takes the pointer ptv to a struct timeval and returns the default network timeout for initial connections last assigned with upscli_set_default_connect_timeout(3).

From nut 2.8.5-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.