ieee1284_find_ports(3)

ieee1284_find_ports3

Find ports on the system

Usage

#include <ieee1284.h>

int ieee1284_find_ports(struct parport_list *list, int flags);

Overview

This function should be called before the other libieee1284 functions. This gives the library a chance to look around and see what's available, and gives the program a chance to choose a port to use.

The list is a pointer to a parport_list structure that will be filled in on success.

There are no flags defined; use zero for this parameter.

Return value

E1284_OK

Success. list is filled in and must be destroyed using ieee1284_free_ports(3).

E1284_NOMEM

There is not enough memory available.

E1284_NOTIMPL

One or more of the supplied flags is not supported in this implementation.

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-07. Parsed by carta from the page's man source.