I am trying to determine whether the ANSI C freopen() function implemented on Solaris is atomic, i.e. uses the same (if any) internal mutex as fopen(), fclose(), etc. do.<br><br>The reason for this request is that I am attempting to reserve some low-numbered file descriptors (fopen() only succeeds if it can get an fd below 256) so that future calls to fopen() succeed.<br><br>Any help would be greatly appreciated. I've already searched/looked in the Sun web page and other forums. No luck so far...<br><br><br>