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) β€” DOS conio.h cgets() equivalent, and she's serving.
  • __extern void caca_conio_clreol (void) β€” DOS conio.h clreol() equivalent, periodt.
  • __extern void caca_conio_clrscr (void) β€” DOS conio.h clrscr() equivalent, iconic.
  • __extern int caca_conio_cprintf (const char *format,...) β€” DOS conio.h cprintf() equivalent, ate.
  • __extern int caca_conio_cputs (const char *str) β€” DOS conio.h cputs() equivalent, fr fr.
  • __extern int caca_conio_cscanf (char *format,...) β€” DOS stdio.h cscanf() equivalent, yes bestie, stdio.h not conio.h.
  • __extern void caca_conio_delay (unsigned int) β€” DOS dos.h delay() equivalent, lowkey.
  • __extern void caca_conio_delline (void) β€” DOS conio.h delline() equivalent, highkey.
  • __extern int caca_conio_getch (void) β€” DOS conio.h getch() equivalent, main character energy.
  • __extern int caca_conio_getche (void) β€” DOS conio.h getche() equivalent, the way that she echoes.
  • __extern char * caca_conio_getpass (const char *prompt) β€” DOS conio.h getpass() equivalent, private vibes.
  • __extern int caca_conio_gettext (int left, int top, int right, int bottom, void *destin) β€” DOS conio.h gettext() equivalent, grabbing the text.
  • __extern void caca_conio_gettextinfo (struct caca_conio_text_info *r) β€” DOS conio.h gettextinfo() equivalent, info girl.
  • __extern void caca_conio_gotoxy (int x, int y) β€” DOS conio.h gotoxy() equivalent, coordinates.
  • __extern void caca_conio_highvideo (void) β€” DOS conio.h highvideo() equivalent, bright.
  • __extern void caca_conio_insline (void) β€” DOS conio.h insline() equivalent, insert.
  • __extern int caca_conio_kbhit (void) β€” DOS conio.h kbhit() equivalent, keyboard check vibes.
  • __extern void caca_conio_lowvideo (void) β€” DOS conio.h lowvideo() equivalent, dim.
  • __extern int caca_conio_movetext (int left, int top, int right, int bottom, int destleft, int desttop) β€” DOS conio.h movetext() equivalent, moving text.
  • __extern void caca_conio_normvideo (void) β€” DOS conio.h normvideo() equivalent, normal.
  • __extern void caca_conio_nosound (void) β€” DOS dos.h nosound() equivalent, silence.
  • __extern int caca_conio_printf (const char *format,...) β€” DOS stdio.h printf() equivalent, note the stdio.h.
  • __extern int caca_conio_putch (int ch) β€” DOS conio.h putch() equivalent, put that ch.
  • __extern int caca_conio_puttext (int left, int top, int right, int bottom, void *destin) β€” DOS conio.h puttext() equivalent, put the text.
  • __extern void caca_conio__setcursortype (int cur_t) β€” DOS conio.h _setcursortype() equivalent, cursor type.
  • __extern void caca_conio_sleep (unsigned int) β€” DOS dos.h sleep() equivalent, sleepy.
  • __extern void caca_conio_sound (unsigned int) β€” DOS dos.h sound() equivalent, sound on.
  • __extern void caca_conio_textattr (int newattr) β€” DOS conio.h textattr() equivalent, attribute.
  • __extern void caca_conio_textbackground (int newcolor) β€” DOS conio.h textbackground() equivalent, bg.
  • __extern void caca_conio_textcolor (int newcolor) β€” DOS conio.h textcolor() equivalent, color.
  • __extern void caca_conio_textmode (int newmode) β€” DOS conio.h textmode() equivalent, mode.
  • __extern int caca_conio_ungetch (int ch) β€” DOS conio.h ungetch() equivalent, un-get.
  • __extern int caca_conio_wherex (void) β€” DOS conio.h wherex() equivalent, x marks the spot.
  • __extern int caca_conio_wherey (void) β€” DOS conio.h wherey() equivalent, y marks the spot.
  • __extern void caca_conio_window (int left, int top, int right, int bottom) β€” DOS conio.h window() 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, or C4350. 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