Article View: comp.sys.atari.st
Article #25057Re: programming the dma port
From: Patrick Amar
Date: Tue, 20 Jan 1987 02:38
Date: Tue, 20 Jan 1987 02:38
11 lines
806 bytes
806 bytes
Hello, when you say: *flock++ to set the lock flag, the C compiler understands something like: (flock++, *(flock-1)) This means that you do the ++ on the pointer and not on the thing pointed to by flock. To set the flag you can say: (*flock)++; Patrick Amar e mail: ...!seismo!mcvax!inria!lri!orion1!pa
Technical Details
Message-ID:
<135@lri.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!inria!lri!paReferences:
<5252@pur-ee.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!inria!lri!pa From: pa@lri.UUCP (Patrick Amar) Newsgroups: comp.sys.atari.st Subject: Re: programming the dma port Message-ID: <135@lri.UUCP> Date: Mon, 19-Jan-87 21:38:44 EST Article-I.D.: lri.135 Posted: Mon Jan 19 21:38:44 1987 Date-Received: Wed, 21-Jan-87 02:12:29 EST References: <5252@pur-ee.UUCP> Reply-To: pa@lri.UUCP (Patrick Amar) Organization: LRI, Orsay. France Lines: 11