shithub: riscv

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