MLUG: Re: [MLUG] temp file naming conventions
Re: [MLUG] temp file naming conventions
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mike Miller wrote:
> 
> What do people do in C programming (for example) in writing temp files to
> avoid conflicts when multiple instances of the program run simultaneously?
> Do you make up some random string, or use the system clock to get a
> string?  What's a conventional approach to this?
> 
> Mike
> 

I would use tmpfile or mktemp or something similar.


-- 
Stephen Montgomery-Smith
EMAIL:PROTECTED
http://www.math.missouri.edu/~stephen
--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/