## diffname ip/inferno.c 1998/0313
## diff -e /dev/null /n/emeliedump/1998/0313/sys/src/brazil/ip/inferno.c
0a
#include "u.h"
#include "../port/lib.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include "../port/error.h"
#include "ip.h"
/*
* some hacks for commonality twixt inferno and plan9
*/
char*
commonuser(void)
{
return up->user;
}
Chan*
commonfdtochan(int fd, int mode, int a, int b)
{
return fdtochan(fd, mode, a, b);
}
char*
commonerror(void)
{
return up->error;
}
char*
bootp(Ipifc*)
{
return "unimplmented";
}
int
bootpread(char*, ulong, int)
{
return 0;
}
Medium tripmedium =
{
"trip",
};
.
## diffname ip/inferno.c 2001/0924
## diff -e /n/emeliedump/1998/0313/sys/src/brazil/ip/inferno.c /n/emeliedump/2001/0924/sys/src/9/ip/inferno.c
28c
return up->errstr;
.
|