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

1991/1011/port/devcons.c (diff list | history)

1991/0920/sys/src/9/port/devcons.c:161,1671991/1011/sys/src/9/port/devcons.c:161,167 (short | long | prev | next)
1990/0227    
	char buf[PRINTSIZE]; 
	int n; 
 
1991/0911    
	strcpy(buf, "inconceivable: "); 
1991/1011    
	strcpy(buf, "panic: "); 
1991/0920    
	n = doprint(buf+strlen(buf), buf+sizeof(buf), fmt, (&fmt+1)) - buf; 
1990/0227    
	buf[n] = '\n'; 
	putstrn(buf, n+1); 
1991/0920/sys/src/9/port/devcons.c:764,7701991/1011/sys/src/9/port/devcons.c:764,770
1991/0705    
		memmove(buf, va, n);	/* so we can NUL-terminate */ 
		buf[n] = 0; 
		fd = strtoul(buf, 0, 0); 
		swc = fdtochan(fd, -1); 
1991/1011    
		swc = fdtochan(fd, -1, 1); 
1991/0705    
		setswapchan(swc); 
		return n; 
1991/0607    
 


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