forsyth20121205-174063a80cc13 years agoHistory
9 lines · 143 B · C
RawDownload
#include "lib9.h" longpread(int fd, void *buf, long n, vlong offset){	if(seek(fd, offset, 0) < 0)		return -1;	return read(fd, buf, n);}