From owner-freebsd-hackers Sat Oct 18 16:33:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA08946 for hackers-outgoing; Sat, 18 Oct 1997 16:33:21 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from trojanhorse.ml.org (mdean.vip.best.com [206.86.94.101]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA08941 for ; Sat, 18 Oct 1997 16:33:18 -0700 (PDT) (envelope-from root@trojanhorse.ml.org) Received: from localhost (root@localhost) by trojanhorse.ml.org (8.8.7/8.8.5) with SMTP id QAA00197 for ; Sat, 18 Oct 1997 16:33:11 -0700 (PDT) Date: Sat, 18 Oct 1997 16:33:11 -0700 (PDT) From: 0000-Administrator To: freebsd-hackers@freebsd.org Subject: outb() / inb() Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I just discovered that outb (0x250, *c++); /* doesn't work whereas */ outb (0x250, *c); c++; /* works */ I would guess (but cannot verify) that *c++ = inb (0x250); /* probably works since the increment expression is * not part of the macro */ can somebody verify this for me I am pretty sure about the inb (even though I can't test it easily), as for the outb since outb just is a macro that puts in an inline function outbv() why does it not work?