File: cache.c

package info (click to toggle)
drawterm 20110822-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 2,944 kB
  • ctags: 5,508
  • sloc: ansic: 55,192; makefile: 568; sh: 23; asm: 20
file content (46 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (3)
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
#include	"u.h"
#include	"lib.h"
#include	"dat.h"
#include	"fns.h"
#include	"error.h"


void
cinit(void)
{
}

void
copen(Chan *c)
{
	USED(c);
}

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

	return 0;
}

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

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