19 lines · 238 B · C
RawDownload
#include <u.h>#include <libc.h>#include <oventi.h>#include "session.h" intvtFdReadFully(int fd, uchar *p, int n){	int nn; 	while(n > 0) {		nn = vtFdRead(fd, p, n);		if(nn <= 0)			return 0;		n -= nn;		p += nn;	}	return 1;}

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