[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What does 'safely' mean in man mktemp?

From: Peng Yu
Subject: What does 'safely' mean in man mktemp?
Date: Wed, 14 Dec 2011 19:50:49 -0600


man mktemp says "Create a temporary file or directory, safely, and
print its name."

I'm wondering what it means by "safely".

Does mktemp test if there is already a tempfile with the given name?
If there is indeed with the same file name, will mktemp use a
different name rather than overwrite the one with the original name?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]