Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
On Tuesday 11 June 2002 01:16 pm, you 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
If I remember correctly, C has a special function to generate a random file
name. I ran across this function recently when dealing with fifos, but can't
remember the name.
Mark
--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
Archives are available at http://mlug.missouri.edu/list-archives/