drawterm/libc/runefmtstr.c
2006-01-18 21:19:33 +00:00

13 lines
164 B
C

#include <u.h>
#include <libc.h>
#include "fmtdef.h"
Rune*
runefmtstrflush(Fmt *f)
{
if(f->start == nil)
return nil;
*(Rune*)f->to = '\0';
return f->start;
}