PARPORT(3) Structures PARPORT(3)

parport - representation of a parallel port

#include <ieee1284.h>

A parport structure represents a parallel port.

The structure has the following members:

struct parport {
  /* An artibrary name for the port. */
  const char *name;
  /* The base address of the port, if that has any meaning, or zero. */
  unsigned long base_addr;
  /* The ECR address of the port, if that has any meaning, or zero. */
  unsigned long hibase_addr;
  /* The filename associated with this port,
   * if that has any meaning, or NULL. */
  const char *filename;
};

Tim Waugh <twaugh@redhat.com>

Author.

Copyright © 2001-2003 Tim Waugh

04/07/2024 [FIXME: source]