MCPcopy Create free account
hub / github.com/NetHack/NetHack / xputs

Function xputs

sys/msdos/video.c:633–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631 */
632
633void
634xputs(const char *s)
635{
636 int col, row;
637
638 col = (int) ttyDisplay->curx;
639 row = (int) ttyDisplay->cury;
640
641 if (!iflags.grmode) {
642 txt_xputs(s, col, row);
643#ifdef SCREEN_VGA
644 } else if (iflags.usevga) {
645 vga_xputs(s, col, row);
646#endif
647#ifdef SCREEN_VESA
648 } else if (iflags.usevesa) {
649 vesa_xputs(s, col, row);
650#endif
651 }
652}
653
654/* same signature as 'putchar()' with potential failure result ignored */
655int

Callers

nothing calls this directly

Calls 3

txt_xputsFunction · 0.85
vga_xputsFunction · 0.85
vesa_xputsFunction · 0.85

Tested by

no test coverage detected