.TH "conio" 3caca "Sun Sep 3 2023 20:34:35" "Version 0.99.beta20" "libcaca" \" -*- nroff -*- .ad l .nh .SH NAME conio \- libcaca DOS conio\&.h compatibility layer .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "__extern char * \fBcaca_conio_cgets\fP (char *str)" .br .RI "DOS conio\&.h cgets() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_clreol\fP (void)" .br .RI "DOS conio\&.h clreol() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_clrscr\fP (void)" .br .RI "DOS conio\&.h clrscr() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_cprintf\fP (const char *format,\&.\&.\&.)" .br .RI "DOS conio\&.h cprintf() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_cputs\fP (const char *str)" .br .RI "DOS conio\&.h cputs() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_cscanf\fP (char *format,\&.\&.\&.)" .br .RI "DOS stdio\&.h cscanf() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_delay\fP (unsigned int)" .br .RI "DOS dos\&.h delay() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_delline\fP (void)" .br .RI "DOS conio\&.h delline() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_getch\fP (void)" .br .RI "DOS conio\&.h getch() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_getche\fP (void)" .br .RI "DOS conio\&.h getche() equivalent\&. " .ti -1c .RI "__extern char * \fBcaca_conio_getpass\fP (const char *prompt)" .br .RI "DOS conio\&.h getpass() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_gettext\fP (int left, int top, int right, int bottom, void *destin)" .br .RI "DOS conio\&.h gettext() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_gettextinfo\fP (struct \fBcaca_conio_text_info\fP *r)" .br .RI "DOS conio\&.h gettextinfo() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_gotoxy\fP (int x, int y)" .br .RI "DOS conio\&.h gotoxy() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_highvideo\fP (void)" .br .RI "DOS conio\&.h highvideo() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_insline\fP (void)" .br .RI "DOS conio\&.h insline() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_kbhit\fP (void)" .br .RI "DOS conio\&.h kbhit() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_lowvideo\fP (void)" .br .RI "DOS conio\&.h lowvideo() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_movetext\fP (int left, int top, int right, int bottom, int destleft, int desttop)" .br .RI "DOS conio\&.h movetext() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_normvideo\fP (void)" .br .RI "DOS conio\&.h normvideo() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_nosound\fP (void)" .br .RI "DOS dos\&.h nosound() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_printf\fP (const char *format,\&.\&.\&.)" .br .RI "DOS stdio\&.h printf() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_putch\fP (int ch)" .br .RI "DOS conio\&.h putch() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_puttext\fP (int left, int top, int right, int bottom, void *destin)" .br .RI "DOS conio\&.h puttext() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio__setcursortype\fP (int cur_t)" .br .RI "DOS conio\&.h _setcursortype() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_sleep\fP (unsigned int)" .br .RI "DOS dos\&.h sleep() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_sound\fP (unsigned int)" .br .RI "DOS dos\&.h sound() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_textattr\fP (int newattr)" .br .RI "DOS conio\&.h textattr() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_textbackground\fP (int newcolor)" .br .RI "DOS conio\&.h textbackground() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_textcolor\fP (int newcolor)" .br .RI "DOS conio\&.h textcolor() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_textmode\fP (int newmode)" .br .RI "DOS conio\&.h textmode() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_ungetch\fP (int ch)" .br .RI "DOS conio\&.h ungetch() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_wherex\fP (void)" .br .RI "DOS conio\&.h wherex() equivalent\&. " .ti -1c .RI "__extern int \fBcaca_conio_wherey\fP (void)" .br .RI "DOS conio\&.h wherey() equivalent\&. " .ti -1c .RI "__extern void \fBcaca_conio_window\fP (int left, int top, int right, int bottom)" .br .RI "DOS conio\&.h window() equivalent\&. " .in -1c .SS "Variables" .in +1c .ti -1c .RI "enum \fBcaca_event_type\fP \fBcaca_event::type\fP" .br .ti -1c .RI "int \fBcaca_event::x\fP" .br .ti -1c .RI "int \fBcaca_event::y\fP" .br .ti -1c .RI "int \fBcaca_event::button\fP" .br .ti -1c .RI "struct {" .br .ti -1c .RI " int \fBx\fP" .br .ti -1c .RI " int \fBy\fP" .br .ti -1c .RI " int \fBbutton\fP" .br .ti -1c .RI "} \fBcaca_event::mouse\fP" .br .ti -1c .RI "int \fBcaca_event::w\fP" .br .ti -1c .RI "int \fBcaca_event::h\fP" .br .ti -1c .RI "struct {" .br .ti -1c .RI " int \fBw\fP" .br .ti -1c .RI " int \fBh\fP" .br .ti -1c .RI "} \fBcaca_event::resize\fP" .br .ti -1c .RI "int \fBcaca_event::ch\fP" .br .ti -1c .RI "uint32_t \fBcaca_event::utf32\fP" .br .ti -1c .RI "char \fBcaca_event::utf8\fP [8]" .br .ti -1c .RI "struct {" .br .ti -1c .RI " int \fBch\fP" .br .ti -1c .RI " uint32_t \fButf32\fP" .br .ti -1c .RI " char \fButf8\fP [8]" .br .ti -1c .RI "} \fBcaca_event::key\fP" .br .ti -1c .RI "union {" .br .ti -1c .RI " struct {" .br .ti -1c .RI " int \fBx\fP" .br .ti -1c .RI " int \fBy\fP" .br .ti -1c .RI " int \fBbutton\fP" .br .ti -1c .RI " } \fBmouse\fP" .br .ti -1c .RI " struct {" .br .ti -1c .RI " int \fBw\fP" .br .ti -1c .RI " int \fBh\fP" .br .ti -1c .RI " } \fBresize\fP" .br .ti -1c .RI " struct {" .br .ti -1c .RI " int \fBch\fP" .br .ti -1c .RI " uint32_t \fButf32\fP" .br .ti -1c .RI " char \fButf8\fP [8]" .br .ti -1c .RI " } \fBkey\fP" .br .ti -1c .RI "} \fBcaca_event::data\fP" .br .ti -1c .RI "char const * \fBcaca_option::name\fP" .br .ti -1c .RI "int \fBcaca_option::has_arg\fP" .br .ti -1c .RI "int * \fBcaca_option::flag\fP" .br .ti -1c .RI "int \fBcaca_option::val\fP" .br .ti -1c .RI "unsigned char \fBcaca_conio_text_info::winleft\fP" .br .ti -1c .RI "unsigned char \fBcaca_conio_text_info::wintop\fP" .br .ti -1c .RI "unsigned char \fBcaca_conio_text_info::winright\fP" .br .ti -1c .RI "unsigned char \fBcaca_conio_text_info::winbottom\fP" .br .ti -1c .RI "unsigned char \fBcaca_conio_text_info::attribute\fP" .br .ti -1c .RI "unsigned char \fBcaca_conio_text_info::normattr\fP" .br .ti -1c .RI "unsigned char \fBcaca_conio_text_info::currmode\fP" .br .ti -1c .RI "unsigned char \fBcaca_conio_text_info::screenheight\fP" .br .ti -1c .RI "unsigned char \fBcaca_conio_text_info::screenwidth\fP" .br .ti -1c .RI "unsigned char \fBcaca_conio_text_info::curx\fP" .br .ti -1c .RI "unsigned char \fBcaca_conio_text_info::cury\fP" .br .in -1c .SH "Detailed Description" .PP These functions implement DOS-like functions for high-level text operations\&. .SH "Variable Documentation" .PP .SS "enum \fBcaca_event_type\fP caca_event::type" The event type\&. .SS "union { \&.\&.\&. } caca_event::data" The event information data .SS "unsigned char caca_conio_text_info::winleft" left window coordinate .SS "unsigned char caca_conio_text_info::wintop" top window coordinate .SS "unsigned char caca_conio_text_info::winright" right window coordinate .SS "unsigned char caca_conio_text_info::winbottom" bottom window coordinate .SS "unsigned char caca_conio_text_info::attribute" text attribute .SS "unsigned char caca_conio_text_info::normattr" normal attribute .SS "unsigned char caca_conio_text_info::currmode" current video mode: BW40, BW80, C40, C80, or C4350 .SS "unsigned char caca_conio_text_info::screenheight" text screen's height .SS "unsigned char caca_conio_text_info::screenwidth" text screen's width .SS "unsigned char caca_conio_text_info::curx" x-coordinate in current window .SS "unsigned char caca_conio_text_info::cury" y-coordinate in current window .SH "Author" .PP Generated automatically by Doxygen for libcaca from the source code\&.