You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PDCursesMod/os2/pdcutil.c

37 lines
516 B
C

/* Public Domain Curses */
#include "pdcos2.h"
#if defined(OS2) && !defined(__EMX__)
APIRET APIENTRY DosSleep(ULONG ulTime);
#endif
void PDC_beep(void)
{
PDC_LOG(("PDC_beep() - called\n"));
#ifdef EMXVIDEO
putchar('\007');
#else
DosBeep(1380, 100);
#endif
}
void PDC_napms(int ms)
{
PDC_LOG(("PDC_napms() - called: ms=%d\n", ms));
#ifdef __EMX__
_sleep2(ms);
#else
DosSleep(ms);
#endif
}
const char *PDC_sysname(void)
{
return "OS/2";
}
enum PDC_port PDC_port_val = PDC_PORT_OS2;