Mike - EMAIL IGNORED <[EMAIL PROTECTED]> writes: > Since in my case, a preexisting file does not mean a failure, this > will not serve unless I use a second "locking file". I quick test > has verified this. If, in the above, the word "exists" were changed > to "opened", my purpose would be served.
What exactly *is* your purpose? If it is "fail second open of the same file", then just keep track of already opened files in your program. >From the OS stand point it is perfectly acceptable and valid to have the same file opened multiple times, and it is unreasonable to expect that it will keep track of which files you've already opened for you ... Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus