setlcr.c
来自「异步通讯C语言例行子程序」· C语言 代码 · 共 14 行
C
14 行
/* A module of ASYNCx.LIB version 1.02 */
#include <dos.h>
#include "asyncdef.h"
/**************************************************************
Set the value of the Line Control Register.
**************************************************************/
void a_setlcr(ASYNC *p,int newval)
{if (p)
outportb(p->base+LCR,newval);
} /* end of a_setlcr(p,newval) */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?