RTEMS CPU Kit with SuperCore  4.11.3
Functions
getchark.c File Reference

Get Character from Stdin. More...

#include <rtems.h>
#include <rtems/bspIo.h>
Include dependency graph for getchark.c:

Functions

int getchark (void)
 Get Character (kernel I/O) More...
 

Detailed Description

Get Character from Stdin.

Function Documentation

◆ getchark()

int getchark ( void  )

Get Character (kernel I/O)

This method polls for a key in the simplest possible fashion from whatever the debug console device is.

Returns
If a character is available, it is returned. Otherwise this method returns -1.
Note
This method uses the BSP_poll_char pointer to a BSP provided method.

References BSP_poll_char.