⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wclreol.c

📁 详细介绍了一篇关于pci开发的接口芯片
💻 C
字号:
/*  CXL - Copyright (c) 1987-1989 by Mike Smedley - All Rights Reserved  */
/*  WCLREOL.C   - clears from cursor postion to end of window's line  */

#include <conio.h>
#include <dos.h>
#include "cxlvid.h"
#include "cxlwin.h"

int wclreol(void)
{
    register int col,stopcol;

    /* check for active window */
    if(!_winfo.total) return(_winfo.errno=W_NOACTIVE);

    /* calculate stop column */
    stopcol=_winfo.active->ecol-_winfo.active->border;

    /* clear to end of window's line */
    for(col=_winfo.active->column;col<=stopcol;col++)
        printc(_winfo.active->row,col,_winfo.active->attr,_winfo.fillch);

    /* return normally */
    return(_winfo.errno=W_NOERROR);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -