summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenis Vlasenko2008-07-09 09:50:33 +0000
committerDenis Vlasenko2008-07-09 09:50:33 +0000
commitf62ab2d77455ca42e1300e72b70d06e8a16db53b (patch)
tree7a5391066d647ecec698214773eee8504c7a041a /include/libbb.h
parentdbef1173b00f0877a63121c40bf607155ac1e9a7 (diff)
downloadbusybox-f62ab2d77455ca42e1300e72b70d06e8a16db53b.zip
busybox-f62ab2d77455ca42e1300e72b70d06e8a16db53b.tar.gz
libbb: use improved xmalloc_read() from modprobe-small
who: fix compile breakage on some systems modprobe-small: improve Config help text wording
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index fc65d52..2dfdded 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -589,6 +589,7 @@ extern char *reads(int fd, char *buf, size_t count) FAST_FUNC;
extern char *xmalloc_reads(int fd, char *pfx, size_t *maxsz_p) FAST_FUNC;
extern ssize_t read_close(int fd, void *buf, size_t maxsz) FAST_FUNC;
extern ssize_t open_read_close(const char *filename, void *buf, size_t maxsz) FAST_FUNC;
+extern void *xmalloc_read(int fd, size_t *sizep) FAST_FUNC;
/* Returns NULL if file can't be opened */
extern void *xmalloc_open_read_close(const char *filename, size_t *maxsz_p) FAST_FUNC;
/* Never returns NULL */