adskbhit.c

来自「epson 13506 driver code」· C语言 代码 · 共 29 行

C
29
字号
/*
**===========================================================================
** kbhit.c
**---------------------------------------------------------------------------
** Copyright (c) 1998 Epson Research and Development, Inc.
** All Rights Reserved.
**===========================================================================
*/

#include "ads-io.h"

/*-------------------------------------------------------------------------*/

static const char Revision[] = "KBHIT.C=$Revision: 2 $";

/*-------------------------------------------------------------------------*/

/* this file implements kbhit () for
 * the Motorola MPC821ADS
 * we call routines from ads-io.c, contained in libads.a
 */

/* kbhit returns non-zero if char is ready at console port */
int kbhit (void)
{
	return SMC2Poll ();
}

⌨️ 快捷键说明

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