shithub: riscv

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