blob: 0eed67e1517c605338c1a998977c708ace96f703 (
plain)
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
40
41
42
43
44
45
46
47
48
49
|
#include "u.h"
#include "../port/lib.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include "../port/error.h"
/*
* stubs when no devmnt cache
*/
void
cinit(void)
{
}
void
copen(Chan *c)
{
c->flag &= ~CCACHE;
}
int
cread(Chan *c, uchar *b, int n, vlong off)
{
USED(c);
USED(b);
USED(n);
USED(off);
return 0;
}
void
cwrite(Chan *c, uchar *buf, int n, vlong off)
{
USED(c);
USED(buf);
USED(n);
USED(off);
}
void
cupdate(Chan *c, uchar *buf, int n, vlong off)
{
USED(c);
USED(buf);
USED(n);
USED(off);
}
|