safely deallocate a port list
void ieee1284_free_ports(struct parport_list *list);
When the port list will no longer be used, the program should call
giving it a pointer to the
structure that holds the list of ports returned by
ieee1284_find_ports(3). The ports are reference counted with the
functions, and so the port list may be freed even if it contains pointers to ports that are still open.
Copyright © 2001-2003 Tim Waugh