bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A few functions have been removed from glibc2.2.2 !


From: Yonglin ma
Subject: A few functions have been removed from glibc2.2.2 !
Date: Mon, 30 Jul 2001 19:22:15 -0700 (PDT)

In glibc2.2.2, following functions have been removed,
In vga.h: vga_init(), vga_set, vga_setmode()
In vgakeyboard.h:keyboard_init(), keyboard_update(),
keyboard_getstate(), keyboard_close(). So some
programs compiled with glibc2.1.1 can't work.
For example,

int InitScoScKbd( )
{
    char *buffer;
    fildes = open( "/dev/tty", O_RDWR );

    if( fildes < 0 )
    {
        return 1;
    }        
    else
    {
        keyboard_init();
        keyboard_update();
        
        buffer = keyboard_getstate();
        
        if(buffer[SCANCODE_CAPSLOCK]) fCapsLock = TRUE;
        if(buffer[SCANCODE_NUMLOCK]) fNumLock = TRUE;
        if(buffer[SCANCODE_SCROLLLOCK]) fScrlLock = TRUE;

        return 0;
    }
}
How can this be solved ? Any suggestions will be
appreciated.



__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]