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>getvect() get interrupt vector entry</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
getvect()                Get Interrupt Vector Entry

 #include   <dos.h>

 void       interrupt(*getvect(intr_num))();
 int        intr_num;                    Specific vector

    getvect() reads the value of one of the MS-DOS "hard-wired" interrupt
    vectors.  These vectors are numbered 0 to 255.  The 4-byte value in
    each one is actually an address, which is the location of an
    interrupt function.  The vector named in 'intr_num' is interpreted as
    a far pointer to some interrupt function.

    Returns:    The current 4-byte valued stored in the interrupt vector
                named by 'intr-num'.

See Also: disable() setvect()

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