conio(3caca)
πΈ NAME πΈ
conio(3caca) β bestie, this is libcaca's DOS conio.h compatibility layer, and she is literally the moment. The page name is conio, the manual is conio(3caca), and the vibe is DOS-style text-mode realness. π
β¨ SYNOPSIS β¨
Okay so there are two whole sections here: Functions and Variables. Both are iconic, both are staying.
π Functions π
Here's the function roster, no cap β every signature is exactly what it is, and every one is the DOS equivalent listed:
__extern char * caca_conio_cgets (char *str)β DOSconio.hcgets()equivalent, and she's serving.__extern void caca_conio_clreol (void)β DOSconio.hclreol()equivalent, periodt.__extern void caca_conio_clrscr (void)β DOSconio.hclrscr()equivalent, iconic.__extern int caca_conio_cprintf (const char *format,...)β DOSconio.hcprintf()equivalent, ate.__extern int caca_conio_cputs (const char *str)β DOSconio.hcputs()equivalent, fr fr.__extern int caca_conio_cscanf (char *format,...)β DOSstdio.hcscanf()equivalent, yes bestie,stdio.hnotconio.h.__extern void caca_conio_delay (unsigned int)β DOSdos.hdelay()equivalent, lowkey.__extern void caca_conio_delline (void)β DOSconio.hdelline()equivalent, highkey.__extern int caca_conio_getch (void)β DOSconio.hgetch()equivalent, main character energy.__extern int caca_conio_getche (void)β DOSconio.hgetche()equivalent, the way that she echoes.__extern char * caca_conio_getpass (const char *prompt)β DOSconio.hgetpass()equivalent, private vibes.__extern int caca_conio_gettext (int left, int top, int right, int bottom, void *destin)β DOSconio.hgettext()equivalent, grabbing the text.__extern void caca_conio_gettextinfo (struct caca_conio_text_info *r)β DOSconio.hgettextinfo()equivalent, info girl.__extern void caca_conio_gotoxy (int x, int y)β DOSconio.hgotoxy()equivalent, coordinates.__extern void caca_conio_highvideo (void)β DOSconio.hhighvideo()equivalent, bright.__extern void caca_conio_insline (void)β DOSconio.hinsline()equivalent, insert.__extern int caca_conio_kbhit (void)β DOSconio.hkbhit()equivalent, keyboard check vibes.__extern void caca_conio_lowvideo (void)β DOSconio.hlowvideo()equivalent, dim.__extern int caca_conio_movetext (int left, int top, int right, int bottom, int destleft, int desttop)β DOSconio.hmovetext()equivalent, moving text.__extern void caca_conio_normvideo (void)β DOSconio.hnormvideo()equivalent, normal.__extern void caca_conio_nosound (void)β DOSdos.hnosound()equivalent, silence.__extern int caca_conio_printf (const char *format,...)β DOSstdio.hprintf()equivalent, note thestdio.h.__extern int caca_conio_putch (int ch)β DOSconio.hputch()equivalent, put thatch.__extern int caca_conio_puttext (int left, int top, int right, int bottom, void *destin)β DOSconio.hputtext()equivalent, put the text.__extern void caca_conio__setcursortype (int cur_t)β DOSconio.h_setcursortype()equivalent, cursor type.__extern void caca_conio_sleep (unsigned int)β DOSdos.hsleep()equivalent, sleepy.__extern void caca_conio_sound (unsigned int)β DOSdos.hsound()equivalent, sound on.__extern void caca_conio_textattr (int newattr)β DOSconio.htextattr()equivalent, attribute.__extern void caca_conio_textbackground (int newcolor)β DOSconio.htextbackground()equivalent, bg.__extern void caca_conio_textcolor (int newcolor)β DOSconio.htextcolor()equivalent, color.__extern void caca_conio_textmode (int newmode)β DOSconio.htextmode()equivalent, mode.__extern int caca_conio_ungetch (int ch)β DOSconio.hungetch()equivalent, un-get.__extern int caca_conio_wherex (void)β DOSconio.hwherex()equivalent, x marks the spot.__extern int caca_conio_wherey (void)β DOSconio.hwherey()equivalent, y marks the spot.__extern void caca_conio_window (int left, int top, int right, int bottom)β DOSconio.hwindow()equivalent, window time.
π Variables π
Okay bestie, here's the variable roster in all its exact glory. Don't touch the formatting, iykyk:
enum caca_event_type caca_event::type
int caca_event::x
int caca_event::y
int caca_event::button
struct {
int x
int y
int button
} caca_event::mouse
int caca_event::w
int caca_event::h
struct {
int w
int h
} caca_event::resize
int caca_event::ch
uint32_t caca_event::utf32
char caca_event::utf8 [8]
struct {
int ch
uint32_t utf32
char utf8 [8]
} caca_event::key
union {
struct {
int x
int y
int button
} mouse
struct {
int w
int h
} resize
struct {
int ch
uint32_t utf32
char utf8 [8]
} key
} caca_event::data
char const * caca_option::name
int caca_option::has_arg
int * caca_option::flag
int caca_option::val
unsigned char caca_conio_text_info::winleft
unsigned char caca_conio_text_info::wintop
unsigned char caca_conio_text_info::winright
unsigned char caca_conio_text_info::winbottom
unsigned char caca_conio_text_info::attribute
unsigned char caca_conio_text_info::normattr
unsigned char caca_conio_text_info::currmode
unsigned char caca_conio_text_info::screenheight
unsigned char caca_conio_text_info::screenwidth
unsigned char caca_conio_text_info::curx
unsigned char caca_conio_text_info::cury
π« Detailed Description π«
Basically, these functions implement DOS-like functions for high-level text operations. That's the tea: libcaca is serving DOS-style high-level text ops through this compatibility layer. Literally the whole point. β¨
π§ VARIABLE DOCUMENTATION π§
enum caca_event_type caca_event::typeβ the event type. Literally what kind of event she is.union { ... } caca_event::dataβ the event information data. The payload, the tea.unsigned char caca_conio_text_info::winleftβ left window coordinate.unsigned char caca_conio_text_info::wintopβ top window coordinate.unsigned char caca_conio_text_info::winrightβ right window coordinate.unsigned char caca_conio_text_info::winbottomβ bottom window coordinate.unsigned char caca_conio_text_info::attributeβ text attribute.unsigned char caca_conio_text_info::normattrβ normal attribute.unsigned char caca_conio_text_info::currmodeβ current video mode:BW40,BW80,C40,C80, orC4350. That's the whole list, bestie.unsigned char caca_conio_text_info::screenheightβ text screen's height.unsigned char caca_conio_text_info::screenwidthβ text screen's width.unsigned char caca_conio_text_info::curxβ x-coordinate in current window.unsigned char caca_conio_text_info::curyβ y-coordinate in current window.
π AUTHOR π
Generated automatically by Doxygen for libcaca from the source code. So like, not a human author β it's the Doxygen robot, and honestly respect. π€π
Okay bestie, that's the whole conio(3caca) page. This iconic manual is from libcaca version 0.99.beta20, dated Wed May 13 2026 09:45:08, and that's the footer realness served cute at the very end. Bye! πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: libcaca-devel 0.99.beta20-160000.3.1 Β· WTFPL
- opensuse-leap 16.0: libcaca-devel 0.99.beta20-160000.3.1 Β· WTFPL
- opensuse-leap 16.0: libcaca-devel 0.99.beta20-160000.3.1 Β· WTFPL
- opensuse-leap 16.0: libcaca-devel 0.99.beta20-160000.3.1 Β· WTFPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms