Use free Windows DDK and compile with latest MinGW releases.
[reactos.git] / reactos / lib / msvcrt / stdio / puts.c
1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2 #include <msvcrti.h>
3
4
5 #undef putchar
6 int
7 puts(const char *s)
8 {
9
10 int c;
11 while ((c = *s++))
12 putchar(c);
13 return putchar('\n');
14
15 }
16
17 int
18 _putws(const wchar_t *s)
19 {
20
21 wint_t c;
22 while ((c = *s++))
23 putwchar(c);
24 return putwchar(L'\n');
25
26 }