delorie.com/djgpp/doc/libc/libc_434.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

_go32_dpmi_chain_protected_mode_interrupt_vector

Syntax

 
#include <dpmi.h>

int _go32_dpmi_chain_protected_mode_interrupt_vector(
        int vector, _go32_dpmi_seginfo *info
);

Description

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.

Return Value

Zero on success, nonzero on failure.

Portability

ANSI/ISO C No
POSIX No

Example

See section _go32_dpmi_set_protected_mode_interrupt_vector.


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004