aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/Makefile
diff options
context:
space:
mode:
authorMatthew D Fleming <mdf@FreeBSD.org>2010-09-09 17:49:18 +0000
committerMatthew D Fleming <mdf@FreeBSD.org>2010-09-09 17:49:18 +0000
commit4351ba272c12b507656dc4233212b231d2c1823d (patch)
tree6a93387cb5edf1079ae335b9e16743977276216d /share/man/man9/Makefile
parent2e4e56742ee27fc31553283cf143372eb01efb7d (diff)
downloadsrc-4351ba272c12b507656dc4233212b231d2c1823d.tar.gz
src-4351ba272c12b507656dc4233212b231d2c1823d.zip
Add drain functionality to sbufs. The drain is a function that is
called when the sbuf internal buffer is filled. For kernel sbufs with a drain, the internal buffer will never be expanded. For userland sbufs with a drain, the internal buffer may still be expanded by sbuf_[v]printf(3). Sbufs now have three basic uses: 1) static string manipulation. Overflow is marked. 2) dynamic string manipulation. Overflow triggers string growth. 3) drained string manipulation. Overflow triggers draining. In all cases the manipulation is 'safe' in that overflow is detected and managed. Reviewed by: phk (the previous version)
Notes
Notes: svn path=/head/; revision=212367
Diffstat (limited to 'share/man/man9/Makefile')
-rw-r--r--share/man/man9/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index e6d8881efce0..6abafe19e09f 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1031,6 +1031,7 @@ MLINKS+=sbuf.9 sbuf_bcat.9 \
sbuf.9 sbuf_overflowed.9 \
sbuf.9 sbuf_printf.9 \
sbuf.9 sbuf_putc.9 \
+ sbuf.9 sbuf_set_drain.9 \
sbuf.9 sbuf_setpos.9 \
sbuf.9 sbuf_trim.9 \
sbuf.9 sbuf_vprintf.9