diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-02-28 19:41:17 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-02-28 19:41:17 +0000 |
commit | 0527575ce2c1ee464d859fd48caaa0423340580e (patch) | |
tree | 520e9727457223d12bb10a84244636523f7b4a40 /ace/ACE.h | |
parent | aa1ea58396cc4cbdad66e8ebea4a3b3806dc135f (diff) | |
download | ATCD-0527575ce2c1ee464d859fd48caaa0423340580e.tar.gz |
ChangeLogTag:Mon Feb 28 09:20:27 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace/ACE.h')
-rw-r--r-- | ace/ACE.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/ACE.h b/ace/ACE.h index 96791dcb9f6..e600d90be5d 100644 --- a/ace/ACE.h +++ b/ace/ACE.h @@ -441,6 +441,13 @@ public: // returns a pointer to the file, else it returns a NULL // pointer. <type> specifies how the file should be open. + static int get_temp_dir (char *buffer, size_t buffer_len); + static int get_temp_dir (wchar_t *buffer, size_t buffer_len); + // Returns the temporary directory including the trailing slash in + // <buffer>. Returns the number of characters in the temp path (but + // doesn't fill in <buffer> if it is not large enough). Returns -1 + // for any other error. + static ACE_HANDLE open_temp_file (const char *name, int mode, int perm = 0); |