runefmtstr.c 144 B

1234567891011
  1. #include <u.h>
  2. #include <libc.h>
  3. Rune*
  4. runefmtstrflush(Fmt *f)
  5. {
  6. if(f->start == nil)
  7. return nil;
  8. *(Rune*)f->to = '\0';
  9. return f->start;
  10. }