putword.c - ubase - suckless linux base utils | |
git clone git://git.suckless.org/ubase | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
putword.c (217B) | |
--- | |
1 /* See LICENSE file for copyright and license details. */ | |
2 #include <stdio.h> | |
3 | |
4 #include "../util.h" | |
5 | |
6 void | |
7 putword(const char *s) | |
8 { | |
9 static int first = 1; | |
10 | |
11 if (!first) | |
12 putchar(' '); | |
13 | |
14 fputs(s, stdout); | |
15 first = 0; | |
16 } |