1IEEE1284_FREE_PORTS(3)             Functions            IEEE1284_FREE_PORTS(3)
2
3
4

NAME

6       ieee1284_free_ports - safely deallocate a port list
7

SYNOPSIS

9       #include <ieee1284.h>
10
11       void ieee1284_free_ports(struct parport_list *list);
12

DESCRIPTION

14       When the port list will no longer be used, the program should call
15       ieee1284_free_ports giving it a pointer to the parport_list structure
16       that holds the list of ports returned by ieee1284_find_ports(3). The
17       ports are reference counted with the ieee1284_open and ieee1284_close
18       functions, and so the port list may be freed even if it contains
19       pointers to ports that are still open.
20

AUTHOR

22       Tim Waugh <twaugh@redhat.com>
23           Author.
24
26       Copyright © 2001-2003 Tim Waugh
27
28
29
30[FIXME: source]                   01/29/2020            IEEE1284_FREE_PORTS(3)
Impressum