sbase/libutil/putword.c

17 lines
225 B
C
Raw Normal View History

2011-06-10 01:56:13 +00:00
/* See LICENSE file for copyright and license details. */
#include <stdio.h>
2011-06-10 01:56:13 +00:00
#include "../util.h"
void
2015-04-21 16:40:57 +00:00
putword(FILE *fp, const char *s)
2011-06-10 01:56:13 +00:00
{
static int first = 1;
2011-06-10 01:56:13 +00:00
if (!first)
fputc(' ', fp);
2015-04-21 16:40:57 +00:00
fputs(s, fp);
first = 0;
2011-06-10 01:56:13 +00:00
}