title: glibc: When and where is the stdio stream buffer allocated and initialized?
body: <p>I am reading the source of glibc-2.19. I found that if I use <code>fopen</code> to get a pointer of <code>FILE</code>, the buffer of the stdio has been already existing. When and where did it allocated and initialized ?</p>