git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
branch update for HEAD-2003021201
[reactos.git]
/
lib
/
msvcrt
/
stdio
/
puts.c
1
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
#include <windows.h>
3
#include <msvcrt/stdio.h>
4
#include <msvcrt/io.h>
5
#include <msvcrt/string.h>
6
7
#undef putchar
8
#undef putwchar
9
10
11
int puts(const char *s)
12
{
13
int c;
14
15
while ((c = *s++)) {
16
putchar(c);
17
}
18
return putchar('\n');
19
}
20
21
int _putws(const wchar_t *s)
22
{
23
wint_t c;
24
25
while ((c = *s++)) {
26
putwchar(c);
27
}
28
return putwchar(L'\n');
29
}