aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-04 17:59:59 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-04 17:59:59 +0000
commita9b60e93eeb4d2706ebc95bafb18bd4267a03d6f (patch)
tree541b0130abde25c96918f4c0176514c3b29baa9f /include
parentceab8700dfa0a4f987c9872e12e57cfba6ddb95c (diff)
downloadbusybox-a9b60e93eeb4d2706ebc95bafb18bd4267a03d6f.tar.gz
new libbb func: xmalloc_realpath (+ use it where makes sense)
syslogd, logread: add debugging code (disabled) syslogs: drastically smaller bss; fix "-C n" behaviour
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
-rw-r--r--include/usage.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 7ee66dce6..e92e4db1c 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -238,6 +238,7 @@ extern DIR *warn_opendir(const char *path);
char *xgetcwd(char *cwd);
char *xreadlink(const char *path);
+char *xmalloc_realpath(const char *path);
extern void xstat(char *filename, struct stat *buf);
extern pid_t spawn(char **argv);
extern pid_t xspawn(char **argv);
diff --git a/include/usage.h b/include/usage.h
index af518de0b..6202c4afd 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3021,7 +3021,8 @@
"\n -R HOST[:PORT] Log to IP or hostname on PORT (default PORT=514/UDP)" \
"\n -L Log locally and via network logging (default is network only)") \
USE_FEATURE_IPC_SYSLOG( \
- "\n -C [size(KiB)] Log to a circular buffer (read the buffer using logread)")
+ "\n -C[size(KiB)] Log to a circular buffer (read the buffer using logread)")
+ /* NB: -Csize shouldn't have space (because size is optional) */
#define syslogd_example_usage \
"$ syslogd -R masterlog:514\n" \
"$ syslogd -R 192.168.1.1:601\n"