ieee1284_close(3)

ieee1284_close3

Close an open port

Usage

#include <ieee1284.h>

int ieee1284_close(struct parport *port);

Overview

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.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1–4.0
  2. 5.0–13
  3. Arch

Author

Tim Waugh <[email protected]>

Author.

From libieee1284 0.2.11-19 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.