Running Windows, I'm using gcc as provided by Strawberry Perl.
If I #define BUFSIZ 1024, I get a warning that in stdio.h it is already
defined as 512.
No problem, really. I can still redefine it or just use another word such as BUFSIZE.
But I wonder why it is already defined. Is it because this is an
optimal buffer size for disk I/O?
My program is a small one, but it might read numerous files successively (by means of wildcard expansion), including large files. I can easily use a larger buffer if it would improve performance. But perhaps there is no point.
What do you recommend?