nutscan_get_serial_ports_list - Man Page

Get a port list name from a range of port​.

Synopsis

        #include <nut-scan​.h>

        char ** nutscan_get_serial_ports_list(const char *ports_range);

Description

The nutscan_get_serial_ports_list() function returns a null terminated array of strings generated from a port range​.

The ports_range may be one of:

The returned array can be used in a call to nutscan_scan_eaton_serial to get the serial-port device on a system​.

Return Value

The nutscan_get_serial_ports_list() function returns NULL if an error occurred (invalid port range) or a pointer to a NULL-terminated array of strings on success​.

Notes

Technically, the function is currently defined in nutscan-serial​.h file​.

See Also

nutscan_scan_usb(3), nutscan_scan_xml_http_range(3), nutscan_scan_nut(3), nutscan_scan_avahi(3), nutscan_scan_ipmi(3), nutscan_scan_snmp(3), nutscan_scan_eaton_serial(3), nutscan_display_ups_conf_with_sanity_check(3), nutscan_display_parsable(3), nutscan_display_ups_conf(3)

Info

10/07/2026 Network UPS Tools 2.8.5 NUT Manual