ieee1284_ref (3)
Leading comments
Title: ieee1284_ref Author: Tim Waugh <twaugh@redhat.com> Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/> Date: 09/18/2007 Manual: Functions Source:
NAME
ieee1284_ref, ieee1284_unref - modify a port's reference countSYNOPSIS
#include <ieee1284.h>
-
int ieee1284_ref(struct parport *port);
- int ieee1284_unref(struct parport *port);
DESCRIPTION
If you use ieee1284_ref at any stage, you must later call ieee1284_unref to relinquish the extra reference. If you do not do this, the resources associated with the port will not be cleaned up.
If you have not previously used ieee1284_ref on a port, you must not use ieee1284_unref on it.
RETURN VALUE
These functions return the number of references held after the increment or decrement.
SEE ALSO
AUTHOR
Tim Waugh <twaugh@redhat.com>
- Author.