edump.c
来自「Due to an increase in demand for and que」· C语言 代码 · 共 25 行
C
25 行
/*
* dos\gcc\edump.c display DOS error information
*
* This file is part of the BETA version of DISKLIB
* Copyright (C) 1998, Gregg Jennings
*
* See README.TXT for information about re-distribution.
* See DISKLIB.TXT for information about usage.
*
*/
#include <stdio.h>
#include <dos.h>
void err_dump(const char *str)
{
struct _DOSERROR d;
if (str)
fprintf(stderr,"%s : ",str);
_dosexterr(&d);
fprintf(stderr,"error %d (class: %d, action: %d, locus: %d)\n",
d.exterror,d.class,d.action,d.locus);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?