Add notes to cat.c

master
Mid Favila 4 months ago
parent 595ed13da0
commit 568cc5a802
  1. 1
      src/cat.c

@ -24,6 +24,7 @@ char *cat(FILE *fp, const int mode)
for(i = 0; (c = fgetc(fp)) != EOF; i++)
{
/* Rewrite using memcpy? */
if(i >= buflen)
{
buflen *= 2;

Loading…
Cancel
Save