[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson