drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / payloads / libpayload / curses / PDCurses / os2 / pdcutil.c
blob290be3595f2cebd2137246ef4522a7743512d09a
1 /* Public Domain Curses */
3 #include "pdcos2.h"
5 RCSID("$Id: pdcutil.c,v 1.14 2008/07/14 04:24:51 wmcbrine Exp $")
7 #if defined(OS2) && !defined(__EMX__)
8 APIRET APIENTRY DosSleep(ULONG ulTime);
9 #endif
11 void PDC_beep(void)
13 PDC_LOG(("PDC_beep() - called\n"));
15 #ifdef EMXVIDEO
16 putchar('\007');
17 #else
18 DosBeep(1380, 100);
19 #endif
22 void PDC_napms(int ms)
24 PDC_LOG(("PDC_napms() - called: ms=%d\n", ms));
26 #ifdef __EMX__
27 _sleep2(ms);
28 #else
29 DosSleep(ms);
30 #endif
33 const char *PDC_sysname(void)
35 return "OS/2";