Files
sbase/libutil/putword.c
T

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>
2013-03-05 21:46:48 +01:00
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
{
2014-11-13 21:24:47 +01:00
static int first = 1;
2011-06-10 02:56:13 +01:00
if (!first)
fputc(' ', fp);
2013-03-05 21:46:48 +01:00
2015-04-21 17:40:57 +01:00
fputs(s, fp);
2014-11-13 21:24:47 +01:00
first = 0;
2011-06-10 02:56:13 +01:00
}