Is there a way to find this out?

I looked up on google, but the only related thing i found is _setmaxstdio which is a C function. I suppose it also applies in C++?

Also, what does this depend on? On the OS or the compiler?