📄 adskbhit.c
字号:
/*
**===========================================================================
** 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -