| Commit message (Expand) | Author | Age | Files | Lines |
* | The minimum sbuf buffer size is 2 bytes (a byte plus a nulterm), assert that. | ian | 2015-03-17 | 1 | -2/+4 |
* | Update an sbuf assertion to allow for the new SBUF_INCLUDENUL flag. If | ian | 2015-03-16 | 1 | -5/+12 |
* | Add a new flag, SBUF_INCLUDENUL, and new get/set/clear functions for flags. | ian | 2015-03-14 | 1 | -1/+29 |
* | Unbreak the ABI by reverting r268494 until the compat shims are provided | gahr | 2014-07-28 | 1 | -16/+7 |
* | Implement Short/Small String Optimization in SBUF(9) and change lengths and | gahr | 2014-07-10 | 1 | -7/+16 |
* | Always request zeroed memory, in case we're dumb enough to leak it later. | des | 2013-09-22 | 1 | -2/+2 |
* | A library function shall not set errno to 0. | jh | 2013-05-16 | 1 | -2/+3 |
* | Add sbuf_start_section() and sbuf_end_section() functions, which can | trociny | 2013-04-11 | 1 | -1/+71 |
* | r222015 introduced a new assertion that the size of a fixed-length sbuf | rwatson | 2011-08-19 | 1 | -1/+1 |
* | Use memset() instead of bzero() and memcpy() instead of bcopy(), there | phk | 2011-05-17 | 1 | -26/+43 |
* | Don't expect PAGE_SIZE to exist on all platforms (It is a pretty arbitrary | phk | 2011-05-17 | 1 | -27/+33 |
* | Change the length quantities of sbufs to be ssize_t rather than int. | phk | 2011-05-16 | 1 | -7/+9 |
* | Re-add r212370 now that the LOR in powerpc64 has been resolved: | mdf | 2010-09-16 | 1 | -2/+2 |
* | Revert r212370, as it causes a LOR on powerpc. powerpc does a few | mdf | 2010-09-13 | 1 | -2/+2 |
* | Add missing pointer increment to sbuf_cat. | kan | 2010-09-11 | 1 | -1/+1 |
* | Replace sbuf_overflowed() with sbuf_error(), which returns any error | mdf | 2010-09-10 | 1 | -28/+25 |
* | Add a drain function for struct sysctl_req, and use it for a variety of | mdf | 2010-09-09 | 1 | -2/+2 |
* | Add drain functionality to sbufs. The drain is a function that is | mdf | 2010-09-09 | 1 | -6/+99 |
* | Refactor sbuf code so that most uses of sbuf_extend() are in a new | mdf | 2010-09-09 | 1 | -25/+69 |
* | Use a better #if guard. | mdf | 2010-09-03 | 1 | -1/+1 |
* | Style(9) fixes and eliminate the use of min(). | mdf | 2010-09-03 | 1 | -12/+15 |
* | Fix user-space libsbuf build. Why isn't CTASSERT available to | mdf | 2010-09-03 | 1 | -0/+2 |
* | Fix brain fart when converting an if statement into a KASSERT. | mdf | 2010-09-03 | 1 | -1/+1 |
* | Use math rather than iteration when the desired sbuf size is larger than | mdf | 2010-09-03 | 1 | -5/+9 |
* | Switch to simplified BSD license (with phk's approval), plus whitespace | des | 2008-08-09 | 1 | -29/+45 |
* | Make sbuf_copyin() return the number of bytes copied on success. | phk | 2005-12-23 | 1 | -1/+1 |
* | Make a bunch of malloc types static. | phk | 2005-02-10 | 1 | -1/+1 |
* | Cosmetic adjustment to previous commit: name the second argument to | des | 2004-07-09 | 1 | -4/+4 |
* | Have sbuf_bcat() and sbuf_bcpy() take a const void * instead of a | des | 2004-07-09 | 1 | -3/+5 |
* | Mechanical whistespace cleanup. | des | 2004-02-17 | 1 | -19/+19 |
* | Use __FBSDID(). | obrien | 2003-06-11 | 1 | -2/+3 |
* | Copy the va_list in sbuf_vprintf() before passing it to vsnprintf(), | peter | 2003-05-25 | 1 | -1/+4 |
* | Back out M_* changes, per decision of the TRB. | imp | 2003-02-19 | 1 | -1/+1 |
* | Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. | alfred | 2003-01-21 | 1 | -1/+1 |
* | Add the new function "sbuf_done()" which returns non-zero if the sbuf is | phk | 2002-10-04 | 1 | -0/+10 |
* | Add a cast to make this file compile in userland on sparc64 without | phk | 2002-09-16 | 1 | -1/+1 |
* | Fix warnings on gcc-3.1+ where __func__ is a const char * instead of a | peter | 2002-03-19 | 1 | -2/+2 |
* | Yet a bug with extensible sbufs being marked as OVERFLOWED. This time | phk | 2002-01-24 | 1 | -1/+1 |
* | In certain cases sbuf_printf() and sbuf_vprintf() could mistakely | phk | 2002-01-22 | 1 | -1/+1 |
* | Replace spaces after #defines with tabs; this makes all #defines | kbyanc | 2002-01-09 | 1 | -20/+20 |
* | * Implement SBUF_AUTOEXTEND flag; sbufs created with this flag are | kbyanc | 2002-01-06 | 1 | -23/+108 |
* | Calculate whether the sbuf is dynamic *before* bzero()ing the | dillon | 2001-12-19 | 1 | -1/+4 |
* | Update to C99, s/__FUNCTION__/__func__/. | obrien | 2001-12-10 | 1 | -6/+6 |
* | Add a couple of API functions I need for my pseudofs WIP. Documentation | des | 2001-09-29 | 1 | -1/+51 |
* | Constify the format string. | des | 2001-07-03 | 1 | -1/+1 |
* | Fix warnings: | jlemon | 2001-06-16 | 1 | -0/+1 |
* | Blah, I cut out a tad too much in the previous commit. (thanks again, Jake!) | des | 2001-06-11 | 1 | -0/+1 |
* | copyin(9) doesn't return ENAMETOOLONG. (thanks, Jake!) | des | 2001-06-11 | 1 | -10/+2 |
* | Add sbuf_copyin(). Also add 'b' variants of sbuf_{cat,copyin,cpy}() which | des | 2001-06-11 | 1 | -0/+98 |
* | sbuf_new(9) now returns a struct sbuf * instead of an int. If the caller | des | 2001-06-10 | 1 | -8/+20 |