Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include <u.h>
2
#include <libc.h>
3
#include "fmtdef.h"
4
 
5
char*
6
fmtstrflush(Fmt *f)
7
{
8
	if(f->start == nil)
9
		return nil;
10
	*(char*)f->to = '\0';
11
	return (char*)f->start;
12
}