UPSCLI_GET_DEFAULT_C(3) NUT Manual UPSCLI_GET_DEFAULT_C(3) NAME upscli_get_default_connect_timeout - Return the upsclient module default timeout for initial connections. SYNOPSIS #include int upscli_get_default_connect_timeout(struct timeval *ptv); DESCRIPTION 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). SEE ALSO upscli_connect(3), upscli_tryconnect(3), upscli_init_default_connect_timeout(3), upscli_set_default_connect_timeout(3) Network UPS Tools 2.8.4 08/13/2025 UPSCLI_GET_DEFAULT_C(3)