Message-ID: <32D48073.2039@cs.com> Date: Wed, 08 Jan 1997 21:21:55 -0800 From: "John M. Aldrich" Reply-To: fighteer AT cs DOT com Organization: Two pounds of chaos and a pinch of salt MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp To: Abbas Imani CC: DJGPP Workers Mailing List Subject: Re: dosmemgetb error References: <5avui6$1gr$1 AT mirv DOT unsw DOT edu DOT au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Abbas Imani wrote: > > I am trying to use dosmemgetb in my program. My code is almost the same as > the code in the libc.a refrence except that I have changed the names of > the varaibles used. > > dosmemgetb(0xd0000, 10, &mem_buf); Argh! It's a typo in the libc docs, of all things. That should be _dosmemgetb (note the leading underscore). I just checked and all the _dosmem* functions have incorrect examples in the docs. Oh, well - nobody's perfect. I guess it's time for another bug report. :) BTW, you may have noted that while the examples were wrong, the function prototype listed at the beginning did have the leading underscore. [CC'ed to djgpp-workers] -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | Proud owner of what might one | http://www.cs.com/fighteer | | day be a spectacular MUD... | Plan: To make Bill Gates suffer | ---------------------------------------------------------------------