source:
bootcd/isolinux/syslinux-6.03/core/console.c
@
e16e8f2
Last change on this file since e16e8f2 was e16e8f2, checked in by , 3 years ago | |
---|---|
|
|
File size: 249 bytes |
Line | |
---|---|
1 | #include <stddef.h> |
2 | #include <com32.h> |
3 | #include <core.h> |
4 | #include <stdio.h> |
5 | #include <string.h> |
6 | |
7 | void myputchar(int c) |
8 | { |
9 | if (c == '\n') |
10 | myputchar('\r'); |
11 | |
12 | writechr(c); |
13 | } |
14 | |
15 | void myputs(const char *str) |
16 | { |
17 | while (*str) |
18 | myputchar(*str++); |
19 | } |
Note: See TracBrowser
for help on using the repository browser.