plan 9 kernel history: overview | file list | diff list

1998/0319/port/devkprof.c (diff list | history)

1997/0408/sys/src/9/port/devkprof.c:109,1191998/0319/sys/src/9/port/devkprof.c:109,120 (short | long | prev | next)
Change dev read and write to use vlong offset.
rsc Fri Mar 4 12:44:25 2005
1990/03292    
} 
 
1997/0327    
static long 
1992/0122    
kprofread(Chan *c, void *va, long n, ulong offset) 
1998/0319    
kprofread(Chan *c, void *va, long n, vlong off) 
1990/03292    
{ 
1993/0501    
	ulong end; 
1992/0122    
	ulong w, *bp; 
	uchar *a, *ea; 
1998/0319    
	ulong offset = off; 
1992/0122    
 
	switch(c->qid.path & ~CHDIR){ 
1990/03292    
	case Kprofdirqid: 
1997/0408/sys/src/9/port/devkprof.c:150,1561998/0319/sys/src/9/port/devkprof.c:151,157
1990/03292    
} 
 
1997/0327    
static long 
1995/0804    
kprofwrite(Chan *c, char *a, long n, ulong) 
1998/0319    
kprofwrite(Chan *c, char *a, long n, vlong) 
1990/03292    
{ 
1991/1006    
	switch((int)(c->qid.path&~CHDIR)){ 
	case Kprofctlqid: 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)