shithub: riscv

ref: 4dfcb4791be0f4e4f9ab24b654af1f8bfb9b3758
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);
}