Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is freopen() on Solaris atomic?

Status
Not open for further replies.

mklenk

Programmer
Aug 5, 2000
1
US
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.&nbsp;&nbsp;I've already searched/looked in the Sun web page and other forums.&nbsp;&nbsp;No luck so far...<br><br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top