summaryrefslogtreecommitdiff
path: root/include/stddef.h
AgeCommit message (Collapse)Author
2017-01-06Add max_align_t.Mark Kettenis
ok millert@
2016-09-09Move the 10 (!) defintions of NULL to their own mini header file andTodd C. Miller
update the NULL definition for C++11. OK deraadt@ guenther@ kettenis@
2011-07-03As pointed out by Richard Guenther our definitionJonathan Gray
of NULL was incorrect for c++ compilers that aren't gcc (or pretend to be gcc like clang). ok miod@
2011-04-06Define NULL as a void * instead of a long integer, as required by Single Unix.Miod Vallat
Kernel and bootblocks still use the old 0L value until all the NULL abuses in the code are fixed.
2009-09-22Use __builtin_offsetof for offsetof definition on gcc >= 4Jonathan Gray
This is required as gcc grows ever more pedantic with old age and cavorts with standards bodies that like to create paradoxes. ok kettenis@ miod@ millert@ espie@
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
2005-05-11major abi changes:Marc Espie
* introduce the mbstate_t typedef. impacts gnu libiconv, which has already been taken care of. * Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with an external variable __mb_cur_max (impacts libX11 and various ports). * use mbstate in all the mb <-> wchar functions with state. * add a stub iswctype function allowing some ports to compile. bash and gdiff are missing wcscoll, and need to be told there's no i18n until this is fixed. Discussed and matthieu, otto, millert, kettenis, deraadt. Major libc bump
2005-04-14introduce some wchar functions (from citrus and an itojun@ diff)Marc Espie
okay deraadt@, cloder@, pvalchev@ thanks to everyone who commented on that.
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-10-25NULL is now 0L so it is the same size as a pointer.Todd C. Miller
OK mickey@ and discussed with deraadt@
1999-11-27In ANSI C++, wchar_t is a builtin. gcc 2.95.1 handles that correctly.Marc Espie
Redefining it as a typedef is an error, as it prevents overloading on e.g., int/wchar_t separately.
1999-06-11Define NULL to be __null for C++: better quality of implementation.Marc Espie
__null is a magic constant of integral type that converts to a null pointer as should be, but warns for ambiguity when used to resolved an overload between an integral type and a pointer type.
1997-09-21Well, as we are heading for a release people are encouraged to rebuild theirNiklas Hallqvist
entire trees for testing anyway, I might as well do this intrusive touching of include files now. Added openBSD tags.
1995-10-18initial import of NetBSD treeTheo de Raadt