User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:stdio.h:bufsiz

BUFSIZ

type Macro

#include <stdio.h> /* including standard library */
//#include <windows.h> /* uncomment this for Windows */
 
BUFSIZ

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

/* 
 * 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;
}

output for bufsiz example code

  ./bufsiz 
  The maximum size of buffer: 8192
advertising
c/stdio.h/bufsiz.txt · Last modified: 2013/01/22 22:02 (external edit)

Impressum