Charles.Forsyth20060303a828770d19 years agoHistory
20 lines · 291 B · C
RawDownload
#include	"lib9.h"#include	<bio.h> intBbuffered(Biobuf *bp){	switch(bp->state) {	case Bracteof:	case Bractive:		return -bp->icount; 	case Bwactive:		return bp->bsize + bp->ocount; 	case Binactive:		return 0;	}	fprint(2, "Bbuffered: unknown state %d\n", bp->state);	return 0;}

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