Header file for HP49 console I/O.
More...
Go to the source code of this file.
Data Structures |
struct | _CONSOLE |
struct | _CONSOLE_GLOBALS |
Functions |
int | putchar (int) |
| Writes a single character c to the screen and returns it's argument.
|
int | puts (const char *) |
| Writes a string pointed to by buf to the screen and returns the number of characters written.
|
int | puts_nonl (const char *) |
int | getchar () |
| Reads a character from keyboard.
|
char * | gets (char *buf) |
| Reads a string from the keyboard.
|
void | clreol () |
| Clear to End-Of-Line from current write mark position.
|
void | clear_screen () |
| Clears the entire screen.
|
void | gotoxy (int, int) |
| Position write mark.
|
void | wherexy (int *x, int *y) |
int | dummy_putchar (int) |
int | dummy_puts (const char *) |
int | dummy_puts_nonl (const char *) |
int | dummy_getchar () |
char * | dummy_gets (char *buf) |
void | dummy_clreol () |
void | dummy_clear_screen () |
void | dummy_gotoxy (int, int) |
void | dummy_wherexy (int *x, int *y) |
int | putchar_orig (int) |
int | puts_orig (const char *) |
int | puts_nonl_orig (const char *) |
int | getchar_orig () |
char * | gets_orig (char *buf) |
void | clreol_orig () |
void | clear_screen_orig () |
void | gotoxy_orig (int, int) |
void | wherexy_orig (int *x, int *y) |
void | home () |
| Positions the virtual write mark at screen position (0,0), i.e. 'home'.
|
int | getx () |
| Returns the current write mark's x-component.
|
int | gety () |
| Returns the current write mark's y-component.
|
int | screen_width () |
int | screen_height () |
int | get_tabsize () |
| Returns current tab width in character units.
|
void | set_tabsize (int) |
| Sets current tab width in character units.
|
int | get_decimal_digits () |
void | set_decimal_digits (int v) |
char * | get_decimal_separator () |
void | set_decimal_separator (char a) |
void | ShutDownConsole () |
void | InitConsole () |
char * | getsConsole (char *str) |
int | getcharConsole () |
int | putsConsole (const char *text) |
int | puts_nonlConsole (const char *text) |
int | putcharConsole (char c) |
void | clearConsole () |
void | clreolConsole () |
void | gotoxyConsole (int x, int y) |
void | wherexyConsole (int *x, int *y) |
Variables |
const _CONSOLE | __console [3] |
Detailed Description
Header file for HP49 console I/O.
Definition in file conio.h.
Function Documentation
Clears the entire screen.
void clear_screen_orig |
( |
| ) |
|
Clear to End-Of-Line from current write mark position.
void dummy_clear_screen |
( |
| ) |
|
char* dummy_gets |
( |
char * |
buf | ) |
|
void dummy_gotoxy |
( |
int |
, |
|
|
int |
|
|
) |
| |
int dummy_putchar |
( |
int |
| ) |
|
int dummy_puts |
( |
const char * |
| ) |
|
int dummy_puts_nonl |
( |
const char * |
| ) |
|
void dummy_wherexy |
( |
int * |
x, |
|
|
int * |
y |
|
) |
| |
int get_decimal_digits |
( |
| ) |
|
char* get_decimal_separator |
( |
| ) |
|
Returns current tab width in character units.
- Return values:
-
Reads a character from keyboard.
- Return values:
-
ASCII | code of entered character |
char * gets |
( |
char * |
buf | ) |
|
Reads a string from the keyboard.
- Parameters:
-
buf | Pointer to buffer, large enough to hold the string. |
- Return values:
-
char* gets_orig |
( |
char * |
buf | ) |
|
char* getsConsole |
( |
char * |
str | ) |
|
Returns the current write mark's x-component.
- Return values:
-
Returns the current write mark's y-component.
- Return values:
-
void gotoxy |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Position write mark.
- Parameters:
-
x | x-position to go to |
y | y-position to go to |
void gotoxy_orig |
( |
int |
, |
|
|
int |
|
|
) |
| |
void gotoxyConsole |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Positions the virtual write mark at screen position (0,0), i.e. 'home'.
Writes a single character c to the screen and returns it's argument.
- Parameters:
-
- Return values:
-
Unchanged | argument or -1 if error |
int putcharConsole |
( |
char |
c | ) |
|
int puts |
( |
const char * |
buf | ) |
|
Writes a string pointed to by buf to the screen and returns the number of characters written.
- Parameters:
-
buf | Pointer to zero delimited string |
- Return values:
-
Number | of characters written |
int puts_nonl |
( |
const char * |
| ) |
|
int puts_nonl_orig |
( |
const char * |
| ) |
|
int puts_nonlConsole |
( |
const char * |
text | ) |
|
int puts_orig |
( |
const char * |
| ) |
|
int putsConsole |
( |
const char * |
text | ) |
|
void set_decimal_digits |
( |
int |
v | ) |
|
void set_decimal_separator |
( |
char |
a | ) |
|
void set_tabsize |
( |
int |
width | ) |
|
Sets current tab width in character units.
- Parameters:
-
void wherexy |
( |
int * |
x, |
|
|
int * |
y |
|
) |
| |
void wherexy_orig |
( |
int * |
x, |
|
|
int * |
y |
|
) |
| |
void wherexyConsole |
( |
int * |
x, |
|
|
int * |
y |
|
) |
| |
Variable Documentation