aboutsummaryrefslogtreecommitdiff
path: root/include/pub_tool_libcfile.h
diff options
context:
space:
mode:
authorweidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9>2011-10-17 18:12:48 +0000
committerweidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9>2011-10-17 18:12:48 +0000
commitd585c923139af976486dd8291f7868fe5a26510e (patch)
tree46300e8a576494eff998a106f8eb18632079d451 /include/pub_tool_libcfile.h
parent2476b78ac5a5f91529042b184a4b684b393962ee (diff)
downloadvalgrind-d585c923139af976486dd8291f7868fe5a26510e.tar.gz
Fix callgrind part of bug 280757.
For this, we make VG_(tmpdir) available to tools. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12163 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'include/pub_tool_libcfile.h')
-rw-r--r--include/pub_tool_libcfile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pub_tool_libcfile.h b/include/pub_tool_libcfile.h
index 8a1766600..700f50de9 100644
--- a/include/pub_tool_libcfile.h
+++ b/include/pub_tool_libcfile.h
@@ -94,6 +94,9 @@ extern Int VG_(getdents)( Int fd, struct vki_dirent *dirp, UInt count );
extern Char* VG_(basename)( const Char* path );
extern Char* VG_(dirname) ( const Char* path );
+/* Return the name of a directory for temporary files. */
+extern const HChar* VG_(tmpdir)(void);
+
/* Copy the working directory at startup into buf[0 .. size-1], or return
False if buf is too small. */
extern Bool VG_(get_startup_wd) ( Char* buf, SizeT size );