OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [services/] [curses/] [pdcurses/] [current/] [src/] [pdcurses/] [deprec.c] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
/* Public Domain Curses */
2
 
3
#include <curspriv.h>
4
 
5
RCSID("$Id: deprec.c,v 1.1 2009/05/10 08:29:53 jld Exp $")
6
 
7
/* Deprecated functions. These should not be used, and will eventually
8
   be removed. They're here solely for the benefit of applications that
9
   linked to them in older versions of PDCurses. */
10
 
11
bool PDC_check_bios_key(void)
12
{
13
    return PDC_check_key();
14
}
15
 
16
int PDC_get_bios_key(void)
17
{
18
    return PDC_get_key();
19
}
20
 
21
bool PDC_get_ctrl_break(void)
22
{
23
    return !SP->raw_inp;
24
}
25
 
26
int PDC_set_ctrl_break(bool setting)
27
{
28
    return setting ? noraw() : raw();
29
}

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.