aruu

[MIRROR] Actual replacement for Busybox | suckless
git clone https://git.daat.foo/aruu.git
Log | Files | Refs | README | LICENSE

putword.c (230B)


      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 }