ubase/libutil/putword.c

17 lines
217 B
C
Raw Normal View History

2013-08-29 10:11:26 +00:00
/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include "../util.h"
void
putword(const char *s)
{
2014-11-17 16:03:18 +00:00
static int first = 1;
2013-08-29 10:11:26 +00:00
2014-07-09 15:39:32 +00:00
if (!first)
2013-08-29 10:11:26 +00:00
putchar(' ');
fputs(s, stdout);
2014-11-17 16:03:18 +00:00
first = 0;
2013-08-29 10:11:26 +00:00
}