Date: Sun, 6 Jan 2002 00:38:24 -0800 (PST) From: Kelly Yancey <kbyanc@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys sbuf.h src/sys/kern subr_sbuf.c Message-ID: <200201060838.g068cOr66895@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
kbyanc 2002/01/06 00:38:23 PST
Modified files:
sys/sys sbuf.h
sys/kern subr_sbuf.c
Log:
* Implement SBUF_AUTOEXTEND flag; sbufs created with this flag are
automatically extended to prevent overflow.
* Added sbuf_vprintf(); sbuf_printf() is now just a wrapper around
sbuf_vprintf().
* Include <stdio.h> and <string.h> when building libsbuf to silence
WARNS=4 warnings.
Reviewed by: des
Revision Changes Path
1.15 +108 -23 src/sys/kern/subr_sbuf.c
1.10 +6 -1 src/sys/sys/sbuf.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201060838.g068cOr66895>
