Plan 9 from Bell Labs’s /usr/web/sources/extra/9hist/mpc/nocache.c

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


## diffname mpc/nocache.c 1999/0608
## diff -e /dev/null /n/emeliedump/1999/0608/sys/src/brazil/mpc/nocache.c
0a
#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);
}
.
## diffname mpc/nocache.c 2000/0516
## diff -e /n/emeliedump/1999/0608/sys/src/brazil/mpc/nocache.c /n/emeliedump/2000/0516/sys/src/9/mpc/nocache.c
18d
## diffname mpc/nocache.c 2001/0527 # deleted
## diff -e /n/emeliedump/2000/0516/sys/src/9/mpc/nocache.c /n/emeliedump/2001/0527/sys/src/9/mpc/nocache.c
1,38d

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.