ref: 567b1b912a91bf56bebacc67b6a467986d5bed6c
dir: /sys/src/9/ip/inferno.c/
#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; }