.\"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "IEEE1284_FREE_PORTS" 3 "" "" ""
.SH NAME
ieee1284_free_ports \- safely deallocate a port list
.SH "SYNOPSIS"
.ad l
.hy 0

#include <ieee1284\&.h>
.sp
.HP 26
void\ \fBieee1284_free_ports\fR\ (struct\ parport_list
	\ \ \ \ \ \ *\fIlist\fR);
.ad
.hy

.SH "DESCRIPTION"

.PP
When the port list will no longer be used, the program should call \fBieee1284_free_ports\fR giving it a pointer to the parport_list structure that holds the list of ports returned by \fBieee1284_find_ports\fR(3)\&. The ports are reference counted with the \fBieee1284_open\fR and \fBieee1284_close\fR functions, and so the port list may be freed even if it contains pointers to ports that are still open\&.

.SH AUTHOR
Tim Waugh <twaugh@redhat\&.com>.
