?? getlsr.c
字號:
/* A module of ASYNCx.LIB version 1.02 */
#include <dos.h>
#include "asyncdef.h"
/**************************************************************
Return the value of the Line Status Register. If the
specified port is not open, return -1.
**************************************************************/
int a_getlsr(ASYNC *p)
{if (p)
return(inportb(p->base+LSR));
return -1;
} /* end of a_getlsr(p) */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -