## diffname ip/plan9.c 1998/0630
## diff -e /dev/null /n/emeliedump/1998/0630/sys/src/brazil/ip/plan9.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->env->user;
}
Chan*
commonfdtochan(int fd, int mode, int a, int b)
{
return fdtochan(up->env->fgrp, fd, mode, a, b);
}
char*
commonerror(void)
{
return up->env->error;
}
int
postnote(Proc*, char*)
{
return -1;
}
.
## diffname ip/plan9.c 2000/1111 # deleted
## diff -e /n/emeliedump/1998/0630/sys/src/brazil/ip/plan9.c /n/emeliedump/2000/1111/sys/src/9/ip/plan9.c
1,35d
|