From owner-freebsd-questions@FreeBSD.ORG Thu Dec 16 09:33:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AA6616A4CE for ; Thu, 16 Dec 2004 09:33:34 +0000 (GMT) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2C3143D54 for ; Thu, 16 Dec 2004 09:33:33 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from tedwin2k (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) iBG9XTv23331; Thu, 16 Dec 2004 01:33:29 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: , Date: Thu, 16 Dec 2004 01:33:29 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <4459.66.82.9.41.1103174098.squirrel@www.dallypost.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal Subject: RE: Parallel Port Control Problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 09:33:34 -0000 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" >