From owner-freebsd-questions Thu Jul 1 6:12:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from rc1.vub.ac.be (rc1.vub.ac.be [134.184.129.1]) by hub.freebsd.org (Postfix) with ESMTP id A901915707 for ; Thu, 1 Jul 1999 06:12:24 -0700 (PDT) (envelope-from jdricot@ulb.ac.be) Received: from mach.vub.ac.be (mach.vub.ac.be [134.184.129.3]) by rc1.vub.ac.be (8.8.8/%I%.0.ap (rc1)) id PAA03192; Thu, 1 Jul 1999 15:11:58 +0200 (MET DST) for Received: from ulb.ac.be (ppp-dial122.ulb.ac.be [164.15.246.122]) by mach.vub.ac.be (8.8.8+Sun/%I%.1.ap (mach.test)) id PAA02975; Thu, 1 Jul 1999 15:12:21 +0200 (MET DST) for Message-ID: <377B5438.CB6B4B84@ulb.ac.be> Date: Thu, 01 Jul 1999 13:42:48 +0200 From: Jean-Michel DRICOT Organization: ULB - Ecole Polytechnique X-Mailer: Mozilla 4.07 [en] (X11; I; FreeBSD 3.1-RELEASE i386) MIME-Version: 1.0 To: FreeBSD Questions Subject: PPI bus fonctions... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, does someone know how to use this ? : in /sys/dev/ppbus/ppbconf.h: struct ppb_adapter { ... int (*read)(int, char *, int, int); int (*write)(int, char *, int, int); ... }; I read up man page but doc is awful.... I just like to read/write to parallel port using these functions (if it is possible that way)... I tried IOCTL() functions but I believed that this could be better... Thanks Jim -- ________________________________________________________________________ "Unix IS user friendly. It's just selective about who it's friends are." Dricot Jean-Michel 3rd year study in Computer & MicroElectronic Engineering Polytechnic School Free University of Brussels (ULB) URL: http://student.ulb.ac.be/~jdricot e-mail: jdricot@ulb.ac.be To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message