DOKK / manpages / debian 12 / libieee1284-3-dev / ieee1284_close.3.en
IEEE1284_CLOSE(3) Functions IEEE1284_CLOSE(3)

ieee1284_close - close an open port

#include <ieee1284.h>

int ieee1284_close(struct parport *port);

To close an open port and free any resources associated with it, call ieee1284_close.

E1284_OK

The port is now closed.

E1284_INVALIDPORT

The port parameter is invalid (perhaps it is not open, for instance).

E1284_SYS

There was a problem at the operating system level. The global variable errno has been set appropriately.

ieee1284_open(3)

Tim Waugh <twaugh@redhat.com>

Author.

Copyright © 2001-2003 Tim Waugh

09/18/2007