Jeff Sickelimport libbiocd2d62814 years agoHistory
22 lines · 254 B · C
RawDownload
#include	<u.h>#include	<libc.h>#undef long#include	<bio.h> intBputc(Biobuf *bp, int c){	int i; 	for(;;) {		i = bp->ocount;		if(i) {			bp->ebuf[i++] = c;			bp->ocount = i;			return 0;		}		if(Bflush(bp) == Beof)			break;	}	return Beof;}

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