Add notes to cat.c

This commit is contained in:
Mid Favila 2022-08-13 20:23:12 -04:00
parent 595ed13da0
commit 568cc5a802

View File

@ -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;