shithub: riscv

ref: 2c1dc1aa4f374f5c8d6a13e7e82a26c4e27e6775
dir: /sys/src/liboventi/errfmt.c/

View raw version
#include <u.h>
#include <libc.h>
#include <oventi.h>

int
vtErrFmt(Fmt *f)
{
	char *s;

	s = vtGetError();
	return fmtstrcpy(f, s);
}