Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C - <b>peekb() examine memory location</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
peekb()                  Examine Memory Location

 #include   <dos.h>

 char       peek(segment,offset);
 int        segment;                     Segment
 unsigned   offset;                      Offset

    peekb() examines the memory location addressed by 'segment:offset'.

    Returns:    The value stored at the memory location 'segment:offset'.
                A byte is returned.

      Notes:    If <dos.h> is included, peekb() is treated as a macro.
                If <dos.h> is not included or #undef is used on it, the
                function peekb() will be used.

See Also: harderr() peek() poke() pokeb()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson