aboutsummaryrefslogtreecommitdiff
path: root/include/pub_tool_libcproc.h
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-09-13 00:46:27 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-09-13 00:46:27 +0000
commitd111d100b250215516c66f0fceda76815191afa0 (patch)
treef24e06a3633eb068fd9d3362489171474418251d /include/pub_tool_libcproc.h
parent10c122ebdb388e77c47efd7bc4c6ab7c76278354 (diff)
downloadvalgrind-d111d100b250215516c66f0fceda76815191afa0.tar.gz
Don't print the client's argv[i] if it's null, and related changes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4629 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'include/pub_tool_libcproc.h')
-rw-r--r--include/pub_tool_libcproc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pub_tool_libcproc.h b/include/pub_tool_libcproc.h
index e8588f525..b4e008010 100644
--- a/include/pub_tool_libcproc.h
+++ b/include/pub_tool_libcproc.h
@@ -35,7 +35,9 @@
Command-line and environment stuff
------------------------------------------------------------------ */
-/* Client args and environment (which can be inspected with VG_(getenv)(). */
+/* Client args and environment. Note that VG_(client_argv)[] can be written
+ to by the client, so you should check each entry is non-NULL before
+ printing. VG_(client_envp) can be inspected with VG_(getenv)(). */
extern Int VG_(client_argc);
extern Char** VG_(client_argv);
extern Char** VG_(client_envp);