shithub: riscv

ref: 1a73b594e684623c9ea1b72141f4e70ee913740b
dir: /sys/src/ape/lib/v/error.c/

View raw version
#define _POSIX_SOURCE
#define _RESEARCH_SOURCE
#include <error.h>
#include <stdio.h>
#include <libv.h>

char *_progname;

void
_perror(char *s)
{
	fprintf(stderr, "%s: ", _progname);
	perror(s);
}