最佳答案:
int86x是一个计算机系统函数。
详情介绍
int86x是一个计算机系统函数。

- 中文名
- int86x
- 函数名
- int86x
- 用 法
- int int86x(int intr_num, union REGS *insegs, union REGS *outregs,struct SREGS *segregs)
- 功 能
- 通用8086软中断接口
程序例
#include
#include
#include
int main(void)
{
char filename;

union REGS inregs, outregs;
struct SREGS segregs;
printf("Enter filename: ");
gets(filename);
inregs.h.ah = 0x43;
inregs.h.al = 0x21;
inregs.x.dx = FP_OFF(filename);

segregs.ds = FP_SEG(filename);
int86x(0x21, &inregs, &outregs, &segregs);
printf("File attribute: %Xn", outregs.x.cx);
return 0;
}


