aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-10-14 21:40:33 +1000
committerGravatar axel <axel@liljencrantz.se>2005-10-14 21:40:33 +1000
commit0ebf6db4b972648ff5a2bed41120bff7b681ea37 (patch)
treef33c14837e2aa75056cf8e1dccb03b6432a43a1b /env.h
parentf321855c0293ec56c9f61c163bd1ac8927aabd1b (diff)
Increase fish robustness by improving signal handling when forking jobs and minor signal handling improvements
darcs-hash:20051014114033-ac50b-8d0f6274ac590f1b6dbe82c55366f44ed7debf20.gz
Diffstat (limited to 'env.h')
-rw-r--r--env.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/env.h b/env.h
index b982fa36..bd43e3ca 100644
--- a/env.h
+++ b/env.h
@@ -69,9 +69,11 @@ void env_set( const wchar_t *key,
/**
- Return the value of the variable with the specified name.
- Returns 0 if the key does not exist.
- The returned string should not be modified or freed.
+ Return the value of the variable with the specified name. Returns 0
+ if the key does not exist. The returned string should not be
+ modified or freed. The returned string is only guaranteed to be
+ valid until the next call to env_get(), env_set(), env_push() or
+ env_pop() takes place.
*/
wchar_t *env_get( const wchar_t *key );