delorie.com/djgpp/doc/libc/libc_487.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <dos.h> int int86x(int ivec, union REGS *in, union REGS *out, struct SREGS *seg); |
The struct SREGS
is defined by <dos.h>
as follows:
struct SREGS { unsigned short es; unsigned short ds; unsigned short fs; unsigned short gs; unsigned short cs; unsigned short ss; }; |
This function is just like int86
(see section int86) except that
values you pass in seg are used for the segment registers instead
of the defaults.
See also int86, intdos, and bdos.
The value of EAX
is returned.
ANSI/ISO C | No |
POSIX | No |
union REGS r; struct SREGS s; r.h.ah = 0x31; r.h.dl = 'c'; r.x.si = si_val; s.ds = ds_val; int86x(0x21, &r, &r, &s); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |