User Tools

Site Tools


c:stdio.h:bufsiz

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:stdio.h:bufsiz [2013/01/22 22:02]
c:stdio.h:bufsiz [2024/02/16 01:05] (current)
Line 1: Line 1:
 +{{keywords>wiki library source code example reference}}
 +====== BUFSIZ ======
 +**type Macro**
 +<code c>
 +#include <stdio.h> /* including standard library */
 +//#include <windows.h> /* uncomment this for Windows */
 + 
 +BUFSIZ
 +</code>
 +The value for BUFSIZ should normally be 256 KB, 512 KB or 4096 KB. This depends on the system and the compiler.
 +
 +===== BUFSIZ C Sourcecode Example =====
 +<code c>
 +/* 
 + * BUFSIZ example code
 + * http://code-reference.com/c/stdio.h/bufsiz 
 + */
 +#include <stdio.h> /* including standard library */
 +//#include <windows.h> /* uncomment this for Windows */
 +
 +
 +
 +int main (void) {
 +    printf ("The maximum size of buffer: %d \n", BUFSIZ );
 +    return 0;
 +}
 +</code>
 +
 +==== output for bufsiz example code ====
 +
 +    ./bufsiz 
 +    The maximum size of buffer: 8192
 +
  

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War

Impressum Datenschutz