henesyinit from lsubb0c8bdb6 years agoHistory
19 lines · 219 B · C
RawDownload
#include	<u.h>#include	<libc.h>#include <b.h> char*		readfstr(char*f){	long	l;	char*	s; 	s =  readf(f, nil, l, &l);	if (s && strlen(s) != l){		werrstr("binary file");		free(s);		return nil;	}	return s;}