Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2004 01:33:29 -0800
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        <lance@dallypost.com>, <freebsd-questions@freebsd.org>
Subject:   RE: Parallel Port Control Problems
Message-ID:  <LOBBIFDAGNMAMLGJJCKNAEMGEPAA.tedm@toybox.placo.com>
In-Reply-To: <4459.66.82.9.41.1103174098.squirrel@www.dallypost.com>

next in thread | previous in thread | raw e-mail | index | archive | help


man ppi, use the example included in the ppi man page.

Ted

> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Lance Earl
> Sent: Wednesday, December 15, 2004 9:15 PM
> To: freebsd-questions@freebsd.org
> Subject: Parallel Port Control Problems
>
>
> I am writing a C++ program on a freebsd 5.2.1 system and compiling it with
> g++. I need to get control of the parallel port and send data to various
> pins. I am attempting to use the functions ioperm(), outb() and inb(). I
> found somewhere that the function was declared in perm.h, no joy. I found
> something that said it was declared in unistd.h, no joy. I also tried
> port.h with no success. The error I get while compiling is "ioperm
> undeclared". Can anyone help me?
>
> Lance Earl
> DallyPost, Inc.
> 208-548-2721
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LOBBIFDAGNMAMLGJJCKNAEMGEPAA.tedm>