ieee1284_close man page

ieee1284_close — close an open port

Synopsis

#include <ieee1284.h>

int ieee1284_close(struct parport *port);

Description

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

Return Value

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.

See Also

ieee1284_open(3)

Author

Tim Waugh <twaugh@redhat.com>

Author.

Referenced By

ieee1284_open(3), libieee1284(3).

07/19/2016 [FIXME: source] Functions