Mail Archives: djgpp-workers/1997/01/08/21:33:55
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 |
---------------------------------------------------------------------
- Raw text -