shithub: riscv

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