mirror of
https://github.com/0intro/conterm
synced 2024-11-25 23:19:36 +03:00
13 lines
164 B
C
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;
|
|
}
|