📄 getmcr.c
字号:
/* A module of ASYNCx.LIB version 1.02 */
#include <dos.h>
#include "asyncdef.h"
/**************************************************************
Return the value of the Modem Control Register. If the port is
not open, return -1.
**************************************************************/
int a_getmcr(ASYNC *p)
{if (p)
return(inportb(p->base+MCR) & 0x1f);
return -1;
} /* end of a_getmcr(p) */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -