diff options
Diffstat (limited to 'include/pub_tool_libcproc.h')
-rw-r--r-- | include/pub_tool_libcproc.h | 4 |
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); |