sbase/libutil/putword.c

17 lines
225 B
C
Raw Normal View History

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