some comments

This commit is contained in:
Elliott Pardee 2015-06-12 05:09:05 -04:00
parent 1af43f92ca
commit e782bef935

View File

@ -1,3 +1,6 @@
/* vypr's typeprint */
/* https://github.com/vypr/typeprint */
#include <time.h>
#include <errno.h>
#include <stdio.h>
@ -28,7 +31,10 @@ process(char *name)
int x;
while ((x = fgetc(file)) != EOF) {
printf("%c", x);
/* flush stdout, because it won't look like typing without. */
fflush(stdout);
nanosleep(&ts, NULL);
}