summaryrefslogtreecommitdiffstats
path: root/cmd-string.c
authornicm <nicm>2008-07-25 17:20:40 (GMT)
committer nicm <nicm>2008-07-25 17:20:40 (GMT)
commit115dde6bffecba3ed8d0f17cf238bc19f933fd38 (patch) (side-by-side diff)
tree72759551af30a26577f5bc8c28e2d00cc37ae271 /cmd-string.c
parent97329b0f41b0990a72bf3f0f6571c4ddade1897a (diff)
downloadtmux-old-115dde6bffecba3ed8d0f17cf238bc19f933fd38.zip
tmux-old-115dde6bffecba3ed8d0f17cf238bc19f933fd38.tar.gz
tmux-old-115dde6bffecba3ed8d0f17cf238bc19f933fd38.tar.bz2
Environment variables in configuration file.
Diffstat (limited to 'cmd-string.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-string.c143
1 files changed, 126 insertions, 17 deletions
diff --git a/cmd-string.c b/cmd-string.c
index 9da8a5a..8c82ba0 100644
--- a/cmd-string.c
+++ b/cmd-string.c
@@ -21,6 +21,7 @@
#include <errno.h>
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
#include "tmux.h"
@@ -29,7 +30,9 @@
*/
int cmd_string_getc(const char *, size_t *);
+void cmd_string_ungetc(const char *,