From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,96486e784922175 X-Google-Attributes: gid111c93,public From: master@darkflame.ml.org (Scott Wood) Subject: Re: Parallel port programming: i386 only? Date: 1999/01/03 Message-ID: #1/1 X-Deja-AN: 428352760 References: <368BECA7.A3BED158@niu.edu> Organization: Who needs it? Newsgroups: comp.os.linux.alpha On Thu, 31 Dec 1998 15:29:12 -0600, John Eley wrote: >I read the IO Programming mini faq and tried to use ioperm() to access >the port. However, after getting implicit declaration errors I looked >and found that ioperm is not in unistd.h on the alpha. After further >research (by searching deja news) it seems that the low level io >routines like ioperm are i386 only. Is this the case? If so how do I do >it on the alpha? You can use /dev/port to access the I/O ports. Just mmap() it and read/write to the offset corresponding to the appropriate port. -- Scott Wood http://darkflame.ml.org/ "In your case, a few 'find / -uid 1000 rm {} \;' are very healthy as well... for this newsgroup, I mean..." -s.c.sprong@student.utwente.nl on comp.unix.bsd.freebsd.misc