sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

putword.c (225B)


      1 /* See LICENSE file for copyright and license details. */
      2 #include <stdio.h>
      3 
      4 #include "../util.h"
      5 
      6 void
      7 putword(FILE *fp, const char *s)
      8 {
      9 	static int first = 1;
     10 
     11 	if (!first)
     12 		fputc(' ', fp);
     13 
     14 	fputs(s, fp);
     15 	first = 0;
     16 }