Skip to main content
Source Link
CPlus
  • 1.2k
  • 2
  • 13
  • 36

You can use tempnam()tempnam(). ItIt generates a filename that is guaranteed to be unique and not used in a given dirdirectory. ItIt is atomic and so is free of any race conditions.

You can use tempnam(). It generates a filename that is guaranteed to be unique and not used in a given dir. It is atomic and so is free of any race conditions.

You can use tempnam(). It generates a filename that is guaranteed to be unique and not used in a given directory. It is atomic and so is free of any race conditions.

Source Link

You can use tempnam(). It generates a filename that is guaranteed to be unique and not used in a given dir. It is atomic and so is free of any race conditions.