sbase/libutil/putword.c

17 lines
225 B
C
Raw Normal View History

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