Libclui


Files

file  tinput.h

Data Structures

struct  tinput_t
 Text input field (command line). More...

Defines

#define HISTORY_LEN   10
#define INPUT_MAX_SIZE   1024

Functions

void tinput_destroy (tinput_t *)
 Destroy text input field.
tinput_ttinput_new (void)
 Create a new text input field.
int tinput_read (tinput_t *, char **)
 Read in one line of input.

Function Documentation

int tinput_read ( tinput_t ti,
char **  dstr 
)

Read in one line of input.

Parameters:
ti Text input.
dstr Place to save pointer to new string.
Returns:
EOK on success

ENOENT if user requested abort

EIO if communication with console failed

Definition at line 533 of file tinput.c.


Generated on Thu Jun 2 07:45:57 2011 for HelenOS/USB by  doxygen 1.4.7