index
:
c-stuff
master
Wide assortment of random c snippets, tests and tools which don't deserve their own repository.
Tomasz Kramkowski <tomasz@kramkow.ski>
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
scanf.c
1
1 files changed, 1 insertions, 0 deletions
diff --git a/scanf.c b/scanf.c
index 67fdc9b..80577f6 100644
--- a/
scanf.c
+++ b/
scanf.c
@@ -4,6 +4,7 @@
int main(void)
{
char *input;
+
scanf("%ms", &input);
printf("%s", input);