shithub: riscv

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