| 299 | */ |
| 300 | |
| 301 | void |
| 302 | txt_xputs(const char *s, int col, int row) |
| 303 | { |
| 304 | char c; |
| 305 | |
| 306 | if (s != (char *) 0) { |
| 307 | while (*s != '\0') { |
| 308 | txt_gotoxy(col, row); |
| 309 | c = *s++; |
| 310 | txt_xputc(c, g_attribute); |
| 311 | if (col < (CO - 1)) |
| 312 | col++; |
| 313 | txt_gotoxy(col, row); |
| 314 | } |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | /* write out character (and attribute) */ |
| 319 | void txt_xputc(char ch, int attr) |
no test coverage detected