/* Collection of code snippets by Arne Vajhøj */
/* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) */
#include <conio.h>

#include "JConIO.h"

jboolean JNICALL Java_JConIO_kbhit(JNIEnv *cntx, jclass me)
{
    return kbhit();
}

jint JNICALL Java_JConIO_getch(JNIEnv *cntx, jclass me)
{
    return getch();
}
