]> git.lizzy.rs Git - plan9front.git/blob - sys/src/libc/fmt/fmtstr.c
libc: use MOVP instruction for arm64 memmove() and memset()
[plan9front.git] / sys / src / libc / fmt / fmtstr.c
1 #include <u.h>
2 #include <libc.h>
3
4 char*
5 fmtstrflush(Fmt *f)
6 {
7         if(f->start == nil)
8                 return nil;
9         *(char*)f->to = '\0';
10         return f->start;
11 }