diff options
author | jilles <jilles@FreeBSD.org> | 2010-11-14 15:31:59 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-11-14 15:31:59 +0000 |
commit | 808b93da2eb6ef8566357c705d038cf597718cd5 (patch) | |
tree | 960f01c2f76ed659f7b40abffbbabae8e71c6a34 /bin/sh/output.h | |
parent | 3f7f99e32bfd4a62f3516eb46a43d84639f51f92 (diff) | |
download | FreeBSD-src-808b93da2eb6ef8566357c705d038cf597718cd5.zip FreeBSD-src-808b93da2eb6ef8566357c705d038cf597718cd5.tar.gz |
sh: Add binary buffered output for use by the printf builtin.
Diffstat (limited to 'bin/sh/output.h')
-rw-r--r-- | bin/sh/output.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sh/output.h b/bin/sh/output.h index 345fe53..a7c748e 100644 --- a/bin/sh/output.h +++ b/bin/sh/output.h @@ -36,6 +36,7 @@ #ifndef OUTPUT_INCL #include <stdarg.h> +#include <stddef.h> struct output { char *nextc; @@ -59,6 +60,7 @@ void out2str(const char *); void out2qstr(const char *); void outstr(const char *, struct output *); void outqstr(const char *, struct output *); +void outbin(const void *, size_t, struct output *); void emptyoutbuf(struct output *); void flushall(void); void flushout(struct output *); |