summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/buf.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-02-07 07:49:16 +0000
committerharti <harti@FreeBSD.org>2005-02-07 07:49:16 +0000
commitc45831f7c65accf983e86b1f1a883f20c27133e0 (patch)
tree66fb0e86c2921f8ecff474aa405874087d374906 /usr.bin/make/buf.h
parentd2bbb620e902ad472a90d5c5d1fc3286b192a0a2 (diff)
downloadFreeBSD-src-c45831f7c65accf983e86b1f1a883f20c27133e0.zip
FreeBSD-src-c45831f7c65accf983e86b1f1a883f20c27133e0.tar.gz
Invent a Buf_Append function to append a NUL-terminated string
and use it thoughout the code. Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make/buf.h')
-rw-r--r--usr.bin/make/buf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/make/buf.h b/usr.bin/make/buf.h
index fc6c409..f209a65 100644
--- a/usr.bin/make/buf.h
+++ b/usr.bin/make/buf.h
@@ -83,4 +83,6 @@ Buffer *Buf_Init(size_t);
void Buf_Destroy(Buffer *, Boolean);
void Buf_ReplaceLastByte(Buffer *, Byte);
+void Buf_Append(Buffer *, const char []);
+
#endif /* buf_h_a61a6812 */
OpenPOWER on IntegriCloud