Russ Coxa934846f21 years agoHistory
27 lines · 382 B · C
RawDownload
#include "u.h"#include "lib.h"#include "dat.h"#include "fns.h"#include "error.h" Label*pwaserror(void){	if(up->nerrlab == NERR)		panic("error stack overflow");	return &up->errlab[up->nerrlab++];} voidnexterror(void){	longjmp(up->errlab[--up->nerrlab].buf, 1);} voiderror(char *e){	kstrcpy(up->errstr, e, ERRMAX);	setjmp(up->errlab[NERR-1].buf);	nexterror();}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t