delorie.com/djgpp/doc/libc/libc_434.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <dpmi.h> int _go32_dpmi_chain_protected_mode_interrupt_vector( int vector, _go32_dpmi_seginfo *info ); |
See section DPMI Overview.
This function is used to chain a protected mode interrupt. It will build a suitable wrapper that will call your function and then jump to the next handler. Your function need not perform any special handling.
Warning! Because of the way DPMI works, you may not
longjmp
out of an interrupt handler or perform any system calls
(such as printf
) from within an interrupt handler.
Do not enable interrupts with enable()
or asm("sti")
in your function.
Zero on success, nonzero on failure.
ANSI/ISO C | No |
POSIX | No |
See section _go32_dpmi_set_protected_mode_interrupt_vector.
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |