2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.


Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

c4/scrapp.c File Reference

Detailed Description

Full-screen application (ANSI/VT100) [Sec. 4.8].

Definition in file scrapp.c.

Go to the source code of this file.


#define ESC   "\033"
#define BEL   "\007"


bool mvaddstr (int y, int x, const char *str)
bool clear (void)
int getch (void)
int beep (void)
int main (void)

Define Documentation

#define BEL   "\007"

Definition at line 64 of file scrapp.c.

Referenced by beep().

#define ESC   "\033"

Definition at line 35 of file scrapp.c.

Referenced by clear(), and mvaddstr().

Function Documentation

int beep void   ) 

Definition at line 66 of file scrapp.c.

References BEL.

Referenced by main().

bool clear void   ) 

Definition at line 42 of file scrapp.c.

References ESC, and mvaddstr().

Referenced by main().

int getch void   ) 

Definition at line 48 of file scrapp.c.

References errno, and read().

Referenced by main().

int main void   ) 

Definition at line 71 of file scrapp.c.

References beep(), clear(), EC_CLEANUP, EC_CLEANUP_BGN, EC_CLEANUP_END, ec_false, ec_neg1, exit(), getch(), mvaddstr(), tc_restore(), and tc_setraw().

bool mvaddstr int  y,
int  x,
const char *  str

Definition at line 37 of file scrapp.c.

References ESC.

Referenced by clear(), and main().

Generated on Fri Apr 23 10:57:08 2004 for AUP2 Example Source by doxygen 1.3.1