Thursday, March 6, 2014

What is BUFSIZ?

BUFSIZ is a constant macro representing the size of the input buffer. It is defined in stdio.h and represents the size for your C implementation. ANSI C requires that it be at least 256 bytes. A common size is 512. It gives us the maximum number of characters that can be transferred through our standard input stream, stdin.

No comments:

Post a Comment