Question about fwrite API

Posted by michael on Stack Overflow See other posts from Stack Overflow or by michael
Published on 2010-05-10T20:12:25Z Indexed on 2010/05/10 20:14 UTC
Read the original article Hit count: 182

Filed under:

Hi,

In C++, there is a fwrite() which writes a buffer to a file on disk:

http://www.cplusplus.com/reference/clibrary/cstdio/fwrite/

Can you please tell me if there is any buffer inside that fwrite implementation?

i.e. if I call fwrite() multiple times (say 10 times), does it actually invoke file i/o 10 different times?

Thank you.

© Stack Overflow or respective owner

Related posts about c++