Path: utzoo!attcan!uunet!mcvax!hp4nl!cadlab1!michiel From: michiel@cadlab1.UUCP (b) Newsgroups: comp.unix.microport Subject: getting bytes in and out of ports Keywords: inb, outb Message-ID: <243@cadlab1.UUCP> Date: 23 Nov 88 16:27:48 GMT Reply-To: michiel@cadlab1.UUCP (Michiel Betel) Organization: Stichting Cadlab, Amsterdam, the Netherlands Lines: 10 Can anybody tell me how to use the files /src/inb.c & /src/outb.c included in the microport V/386 SDS. My first problem is that the file io_op.h is missing. The examples use an ioctl call IOCIOP_RB (read byte I presume) to read from /dev/mem and a struct called iop_op_t to pass the parameters. I received the V/286 version of iop_op_t but using that gives an error device "no such device" (errno 19). I'm pretty sure /dev/mem is there so i assume the 286 header file is not correct. michiel