Parallel Port Control Problems

Ted Mittelstaedt tedm at toybox.placo.com
Thu Dec 16 01:33:34 PST 2004



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

Ted

> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Lance Earl
> Sent: Wednesday, December 15, 2004 9:15 PM
> To: freebsd-questions at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list