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/bltin | |
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/bltin')
-rw-r--r-- | bin/sh/bltin/bltin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sh/bltin/bltin.h b/bin/sh/bltin/bltin.h index c4bf8b6..0fc8a28 100644 --- a/bin/sh/bltin/bltin.h +++ b/bin/sh/bltin/bltin.h @@ -54,6 +54,7 @@ #define putchar(c) out1c(c) #define fprintf outfmt #define fputs outstr +#define fwrite(ptr, size, nmemb, file) outbin(ptr, (size) * (nmemb), file) #define fflush flushout #define INITARGS(argv) #define warnx1(a, b, c) { \ |