Blob Blame History Raw
.\"     Title: ieee1284_free_ports
.\"    Author: Tim Waugh <>
.\" Generator: DocBook XSL Stylesheets v1.72.0 <>
.\"      Date: 09/18/2007
.\"    Manual: Functions
.\"    Source: 
.TH "IEEE1284_FREE_PORTS" "3" "09/18/2007" "" "Functions"
.\" disable hyphenation
.\" disable justification (adjust text to left margin only)
.ad l
ieee1284_free_ports \- safely deallocate a port list
.ft B
#include <ieee1284.h>
.HP 25
.BI "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
\fBieee1284_find_ports\fR(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.
\fBTim Waugh\fR <\&\&>
.sp -1n
.IP "" 4
Copyright \(co 2001\-2003 Tim Waugh