00001 // 繧ュ繝シ繝懊�シ繝牙�・蜉帶、懃衍 (Unix迚�) 00002 // 2011/02/14 Yuki YOKOKURA 00003 // 00004 // 繧ュ繝シ繝懊�シ繝峨�ョ繝懊ち繝ウ縺御ス輔°謚シ縺輔l縺溘°縺ゥ縺�縺玖ェソ縺ケ繧� 00005 // 00006 // Copyright (C) 2011 Yuki YOKOKURA 00007 // This program is free software; 00008 // you can redistribute it and/or modify it under the terms of the GNU General Public License 00009 // as published by the Free Software Foundation; either version 3 of the License, or any later version. 00010 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 00011 // without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00012 // See the GNU General Public License for more details <http://www.gnu.org/licenses/>. 00013 // Besides, you can negotiate about other options of licenses instead of GPL. 00014 // If you would like to get other licenses, please contact us<yuki@katsura.sd.keio.ac.jp>. 00015 00016 #ifndef KBHIT 00017 #define KBHIT 00018 00019 #include <unistd.h> 00020 #include <sys/time.h> 00021 00022 int kbhit(void); // 繧ュ繝シ蜈・蜉帙′縺ゅ▲縺溷�エ蜷医↓1繧定ソ斐☆ 縺ェ縺代l縺ー0繧定ソ斐☆ 00023 00024 #endif 00025