nutscan_free_device(3)

nutscan_free_device3

Free a `nutscan_device_t` structure created by `nutscan_new_device`.

Usage

        #include <nut-scan.h>
        void nutscan_free_device(nutscan_device_t * device);

Overview

The nutscan_free_device() function can free a nutscan_device_type_t structure. Doing so, it frees the whole linked list, not only the given device.

Notes

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

Releases

8 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9–11
  4. 12
  5. 13
  6. Arch

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