~kris/9p

9hist

ref: 6ca69b6039750eb3e910cda0802ba963ba752a23 9hist/mpc/nocache.c -rw-r--r-- 480 bytes
6ca69b60 — David du Colombier Plan 9 from Bell Labs 2000-01-02 26 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include	"u.h"
#include	"../port/lib.h"
#include	"mem.h"
#include	"dat.h"
#include	"fns.h"
#include	"../port/error.h"

// No file caching

void
cinit(void)
{
}

void
copen(Chan *c)
{
print("copen called!\n");
	USED(c);
}

int
cread(Chan *c, uchar *buf, int len, vlong off)
{
	USED(c, buf, len, off);
	return 0;
}

void
cupdate(Chan *c, uchar *buf, int len, vlong off)
{
	USED(c, buf, len, off);
}

void
cwrite(Chan* c, uchar *buf, int len, vlong off)
{
	USED(c, buf, len, off);
}