Date: Sat, 27 Jan 2001 16:13:01 -0800 (PST) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_sbuf.c src/sys/sys sbuf.h Message-ID: <200101280013.f0S0D1C01370@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2001/01/27 16:13:01 PST Modified files: sys/kern subr_sbuf.c sys/sys sbuf.h Log: Add sbuf_clear() and sbuf_overflowed(). Move the helper macros from sbuf.h to sbuf.c Use ints instead of size_ts. Relax the requirements for sbuf_finish(): it is now possible to finish an overflowed buffer. Make sbuf_len() return -1 instead of 0 if the sbuf overflowed. Requested by: gibbs Revision Changes Path 1.2 +50 -14 src/sys/kern/subr_sbuf.c 1.2 +9 -20 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?200101280013.f0S0D1C01370>