diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2009-06-24 19:57:24 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2009-06-24 19:57:24 +0100 |
commit | da947eadcfa1367c2d634667068db813a87a6dd1 (patch) | |
tree | 8d92e6340cb2d0c587b9a242633f5576405e6e19 /src | |
parent | 0574eab8bc7d8e72db862ec36815835938a5fdf1 (diff) | |
download | libguestfs-da947eadcfa1367c2d634667068db813a87a6dd1.tar.gz libguestfs-da947eadcfa1367c2d634667068db813a87a6dd1.tar.xz libguestfs-da947eadcfa1367c2d634667068db813a87a6dd1.zip |
Clarify documentation for mkdtemp.
Diffstat (limited to 'src')
-rwxr-xr-x | src/generator.ml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/generator.ml b/src/generator.ml index e378395a..86f2fe20 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -2450,15 +2450,18 @@ manual page for more details."); "\ This command creates a temporary directory. The C<template> parameter should be a full pathname for the -temporary directory with the six characters being +temporary directory name with the final six characters being \"XXXXXX\". -For example: \"/tmp/tmpXXXXXX\" or \"/Temp/tmpXXXXXX\", -the second one being suitable for Windows. +For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", +the second one being suitable for Windows filesystems. The name of the temporary directory that was created is returned. +The temporary directory is created with mode 0700 +and is owned by root. + The caller is responsible for deleting the temporary directory and its contents after use. |