1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00
freebsd/share
Matthew D Fleming 4351ba272c 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)
2010-09-09 17:49:18 +00:00
..
colldef
dict Add "Massachusetts". 2010-03-17 15:31:06 +00:00
doc Rename documentation source files to avoid filesystem case and restricted 2010-07-16 17:01:36 +00:00
examples o csup(1) does not have -g flag. Remove it from the example. 2010-09-02 05:07:34 +00:00
info
man Add drain functionality to sbufs. The drain is a function that is 2010-09-09 17:49:18 +00:00
me
misc Point out who is my mentor. 2010-09-06 20:16:10 +00:00
mk Now that we default to the proper endian, we don't need these for mips 2010-08-28 21:06:13 +00:00
mklocale
monetdef
msgdef
numericdef
security Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
sendmail
skel
snmp
syscons Add a keymap for the Swiss-German Macbook keyboard. 2010-08-07 17:02:36 +00:00
tabset
termcap Add a termcap entry for rxvt-256color. 2010-08-08 09:40:09 +00:00
timedef Week days are all lowercase in French. 2010-07-20 14:27:09 +00:00
zoneinfo Officially speaking, the zoneinfo data files are contributed data. 2010-02-25 06:44:16 +00:00
Makefile
Makefile.inc