mirror of
https://github.com/0intro/conterm
synced 2024-11-29 00:43:11 +03:00
12 lines
140 B
C
12 lines
140 B
C
#include <u.h>
|
|
#include <libc.h>
|
|
|
|
char*
|
|
fmtstrflush(Fmt *f)
|
|
{
|
|
if(f->start == nil)
|
|
return nil;
|
|
*(char*)f->to = '\0';
|
|
return f->start;
|
|
}
|