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

1990/0315/gnot/trap.c (diff list | history)

1990/0315/sys/src/9/gnot/trap.c:270,2751990/0321/sys/src/9/gnot/trap.c:270,276 (short | long | prev | next)
1990/03091    
	ret = -1; 
	if(!waserror()) 
		ret = (*systab[r0])((ulong*)(sp+BY2WD)); 
1990/0321    
else print("syscall %d err %d %d\n", r0, u->error.type, u->error.code); 
1990/03091    
	u->nerrlab = 0; 
	u->p->insyscall = 0; 
	if(r0 == NOTED)	/* ugly hack */ 


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