delorie.com/djgpp/doc/libc/libc_133.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <dos.h> int disable(void); |
This function disables interrupts.
See section enable.
Returns nonzero if the interrupts had been enabled before this call, zero if they were already disabled.
ANSI/ISO C | No |
POSIX | No |
int ints_were_enabled; ints_were_enabled = disable(); . . . do some stuff . . . if (ints_were_enabled) enable(); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |