RetroArch
Functions | Variables
linux_common.c File Reference
#include <stdlib.h>
#include <signal.h>
#include <linux/input.h>
#include <linux/kd.h>
#include <termios.h>
#include <unistd.h>
#include "linux_common.h"
Include dependency graph for linux_common.c:

Functions

void linux_terminal_flush (void)
 
void linux_terminal_restore_input (void)
 
bool linux_terminal_init (void)
 
void linux_terminal_claim_stdin (void)
 
bool linux_terminal_grab_stdin (void *data)
 
static void linux_terminal_restore_signal (int sig)
 
bool linux_terminal_disable_input (void)
 

Variables

static struct termios oldTerm newTerm
 
static long oldKbmd = 0xffff
 
static bool linux_stdin_claimed = false
 

Function Documentation

◆ linux_terminal_claim_stdin()

void linux_terminal_claim_stdin ( void  )
Here is the caller graph for this function:

◆ linux_terminal_disable_input()

bool linux_terminal_disable_input ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ linux_terminal_flush()

void linux_terminal_flush ( void  )
Here is the caller graph for this function:

◆ linux_terminal_grab_stdin()

bool linux_terminal_grab_stdin ( void data)
Here is the caller graph for this function:

◆ linux_terminal_init()

bool linux_terminal_init ( void  )
Here is the caller graph for this function:

◆ linux_terminal_restore_input()

void linux_terminal_restore_input ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ linux_terminal_restore_signal()

static void linux_terminal_restore_signal ( int  sig)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ linux_stdin_claimed

bool linux_stdin_claimed = false
static

◆ newTerm

struct termios oldTerm newTerm
static

◆ oldKbmd

long oldKbmd = 0xffff
static