diff options
author | nicm <nicm> | 2016-11-17 10:06:08 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-11-17 10:06:08 +0000 |
commit | 3cf19d6dd0900dd5bbd78594af308ee88b109756 (patch) | |
tree | bd0bf36fc064cd633f9edb3a5630b047806fa74b /xmalloc.h | |
parent | ddf7ac5ae4d044cda12d959bbf02df921f9d84a5 (diff) | |
download | rtmux-3cf19d6dd0900dd5bbd78594af308ee88b109756.tar.gz rtmux-3cf19d6dd0900dd5bbd78594af308ee88b109756.tar.bz2 rtmux-3cf19d6dd0900dd5bbd78594af308ee88b109756.zip |
Key running commands for #() by the unexpanded command, and run them
again if the expanded form changes (otherwise at most once per second as
usual). Fixes issues reported by Gregory Pakosz.
Diffstat (limited to 'xmalloc.h')
-rw-r--r-- | xmalloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -24,6 +24,7 @@ void *xcalloc(size_t, size_t); void *xrealloc(void *, size_t); void *xreallocarray(void *, size_t, size_t); char *xstrdup(const char *); +char *xstrndup(const char *, size_t); int xasprintf(char **, const char *, ...) __attribute__((__format__ (printf, 2, 3))) __attribute__((__nonnull__ (2))); |