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

1993/1004/port/sysfile.c (diff list | history)

1993/0501/sys/src/9/port/sysfile.c:85,901993/1004/sys/src/9/port/sysfile.c:85,105 (short | long | prev | next)
1990/0227    
} 
 
long 
1993/1004    
syspath(ulong *arg) 
{ 
	Chan *c; 
 
	validaddr(arg[1], 1, 0); 
	if(vmemchr((char*)arg[1], '\0', arg[2]) == 0) 
		error(Ebadarg); 
 
	c = fdtochan(arg[0], -1, 0, 0); 
 
	ptpath(c->path, (char*)arg[1], arg[2]); 
	return 0; 
} 
 
long 
1990/1009    
syspipe(ulong *arg) 
{ 
	int fd[2]; 


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