summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/buf.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-02-07 07:54:23 +0000
committerharti <harti@FreeBSD.org>2005-02-07 07:54:23 +0000
commit92a5e4fdd6e689f9a8570f20066b1db264ded799 (patch)
tree5139321e24b73eb766d0d1666c28d2d79a8abd00 /usr.bin/make/buf.h
parentc45831f7c65accf983e86b1f1a883f20c27133e0 (diff)
downloadFreeBSD-src-92a5e4fdd6e689f9a8570f20066b1db264ded799.zip
FreeBSD-src-92a5e4fdd6e689f9a8570f20066b1db264ded799.tar.gz
Invent a Buf_AppendRange function that appends a non-NUL-terminated string
given by a pointer to the start of the string and a pointer one behind the end. Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make/buf.h')
-rw-r--r--usr.bin/make/buf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/buf.h b/usr.bin/make/buf.h
index f209a65..bc669ed 100644
--- a/usr.bin/make/buf.h
+++ b/usr.bin/make/buf.h
@@ -84,5 +84,6 @@ void Buf_Destroy(Buffer *, Boolean);
void Buf_ReplaceLastByte(Buffer *, Byte);
void Buf_Append(Buffer *, const char []);
+void Buf_AppendRange(Buffer *, const char [], const char *);
#endif /* buf_h_a61a6812 */
OpenPOWER on IntegriCloud