summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/libkern.h
AgeCommit message (Expand)Author
2014-02-27Provide labs, llabs and imaxabs for kernel use.joerg
2013-12-27add strncat (for acpi)christos
2013-12-15Allow overriding CTASSERT. This helps with building NetBSD sources withpooka
2013-12-11Allow kernel code to access constant databases by moving cdbr(3) and thejoerg
2013-12-02changed lua_Number to int64_tlneto
2013-08-28Fix libkern's prototype for explicit_memset.riastradh
2013-06-24Replace consttime_bcmp/explicit_bzero by consttime_memequal/explicit_memset.riastradh
2012-08-30Add "consttime_bcmp" and "explicit_bzero" functions for both kerneldrochner
2012-01-22Add CTASSERT_SIGNED() and CTASSERT_UNSIGNED().rmind
2011-11-28Remove arc4random() and arc4randbytes() from the kernel API. Replacetls
2011-10-01use gcc builtin for memset() on vax too.chs
2011-09-29Don't include <sys/systm.h> because it brings in too much stuff thatchristos
2011-09-27Modify *ASSERTMSG() so they are now used as variadic macros. The main goaljym
2011-09-25Do as Joerg said and kill the __STDC__ blocks. They only make sense forjym
2011-09-01Make strnlen(3) accessible in kernel. ok christos@.jym
2011-07-05If GCC 4.0 or later, use __builtin_offsetof for offsetof.matt
2011-02-19Define CTASSERT in terms of __CTASSERTmatt
2011-01-26Fix KDASSERTMSG defintions for !DEBUGmatt
2011-01-24Add KDASSERTMSG (KDASSERT already exists).matt
2010-04-25Fix KASSERTMSG() to be consistent with KASSERT() logic, not inverted.rmind
2010-01-19Get rid of last "easy" kernel symbols starting with __:pooka
2009-07-21Move popcount et al to src/common and add popcount32/popcount64.joerg
2009-05-13Implement snprintb_m(3) to provide multi-line bit/bit-field decode.pgoyette
2009-03-25Fix build problems caused by crc32 addition to libkern. Also, this makestls
2009-03-25Fixes PR kern/41069 and PR kern/41070.darran
2009-03-23Don't use gcc's __builtin_*() functions #if defined(_STANDALONE)tsutsui
2009-03-18- remove bcmp(9), bcopy(9), and bzero(9) from libkern since <sys/systm.h> hastsutsui
2009-03-14Remove all the __P() from sys (excluding sys/dist)dsl
2008-12-16replace bitmask_snprintf(9) with snprintb(3)christos
2008-11-16Our qsort() is inappropriate for kernel use because it makes recursivead
2008-11-16Make qsort() available in libkern.ad
2008-09-08Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.hgmcgarry
2008-07-02Add KASSERTMSG(e, msg) for umass.c. XXX directly calls panic.matt
2008-07-02Add CTASSERT (compile time assert) from FreeBSD.matt
2008-03-25fix againchristos
2008-03-25fix bcopy againchristos
2008-03-25fix bcopy prototypechristos
2008-03-25add a prototype for bcopy.christos
2008-02-17Don't need to that particular in mtprng_random(). Use 2 values instead of 8.matt
2008-02-02Improve my version of mtprng_random. Reshuffle things. Add an compatiblematt
2008-01-31Add Mersenne Twister prototypes and state struct to libkern.hmatt
2007-12-25Convert many of the uses of __attribute__ to equivalentperry
2007-09-24Rename __assert() to __kernassert() so that it doesn't collidepooka
2007-07-29Disable kernel assertions if panicstr != NULL.ad
2007-04-09Enable builtin_ffs for vaxmatt
2007-02-21Replace the Mach-derived boolean_t type with the C99 bool type. Athorpej
2006-10-08- Move strtoll.c and strtoull.c from libc/stdlib to common/libc/stdlib.thorpej
2006-09-10If __STDC__ and GNU C >= 3.0, define C99's bool, true, falsematt
2006-08-31Per discussion on tech-kern and tech-userlevel, move the bit-twiddlingdyoung
2006-08-25Add __NULL_STMT which is do { } while (/* CONSTCOND */ 0)matt