Logo Search packages:      
Sourcecode: alsa-driver version File versions

kredirect.c

#include <stdio.h>
#include <stdlib.h>
#include <asm/ioctls.h>

#define CONSOLE         10          /* Alt + Fx */

int main(void)
{
      char console[2] = {11, CONSOLE};    /* cmd, console */

      if (ioctl(0, TIOCLINUX, &console) < 0)
            perror("TIOCLINUX");
}

Generated by  Doxygen 1.6.0   Back to index