pdcurses/pdcutil.c

Fri, 22 Jul 2016 17:50:00 +0300

author
Teemu Piippo <teemu@compsta2.com>
date
Fri, 22 Jul 2016 17:50:00 +0300
changeset 157
42bb29924218
parent 97
2d43f05b284c
permissions
-rw-r--r--

Bytestream now behaves more like a cursor. It does not store the data anymore, rather it leaves the user to specify a vector to use for storage.

/* Public Domain Curses */

#include "pdcwin.h"

RCSID("$Id: pdcutil.c,v 1.14 2008/07/14 04:24:52 wmcbrine Exp $")

void PDC_beep(void)
{
    PDC_LOG(("PDC_beep() - called\n"));

/*  MessageBeep(MB_OK); */
    MessageBeep(0XFFFFFFFF);
}

void PDC_napms(int ms)
{
    PDC_LOG(("PDC_napms() - called: ms=%d\n", ms));

    Sleep(ms);
}

const char *PDC_sysname(void)
{
    return "Win32";
}

mercurial