write function: max default buffer size

Hi,

Does anybody knows what is the max default buffer size in the write function?

outfile.write (recvbuf, bytesRecv).

I want to ckeck how many times this function will be called to write a big block data in a file.

Thank you
since the declaration of ostream::write is ostream& write ( const char* , streamsize );, the maximum value should be numeric_limits<streamsize>::max()
Last edited on
thank you Bazzy. I'll try it...
Topic archived. No new replies allowed.