shithub: riscv

ref: f03556a76343783be1873dc39d57b63e37c07dc1
dir: /sys/src/9/ip/inferno.c/

View raw version
#include	"u.h"
#include	"../port/lib.h"
#include	"mem.h"
#include	"dat.h"
#include	"fns.h"
#include	"../port/error.h"

/*
 *  some hacks for commonality twixt inferno and plan9
 */

char*
commonuser(void)
{
	return up->user;
}

char*
commonerror(void)
{
	return up->errstr;
}

int
bootpread(char*, ulong, int)
{
	return	0;
}