ubase/libutil/putword.c

17 lines
217 B
C
Raw Normal View History

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