summaryrefslogtreecommitdiff
path: root/include/Makefile
AgeCommit message (Collapse)Author
2019-06-04Move the basic part of XDR to common/include/rpc and common/lib/libc/rpc.hannken
No functional change intended.
2019-04-24Don't install YP headers when MKYP=noroy
2017-10-16Add endian.h header. Simply includes sys/endian.hmaya
<endian.h> has been accepted by the austin group.
2016-10-02Import <stdalign.h>kamil
This header conforms to the C11 standard Reference: ISO/IEC 9899:201x 7.15 Alignment <stdalign.h> According to ISO/IEC 9899:201x (draft) 7.15 Alignment <stdalign.h> defines four macros: - alignas which expands to _Alignas - alignof which expands to _Alignof - __alignas_is_defined and __alignof_is_defined which both expand to 1 The _Alignas declaration appears as one of the type specifiers to modify the alignment requirement of the object being declared. The _Alignof operator is used to query the alignment requirement of its operand type. ISO/IEC N3242=11-0012 (C++1x) and ISO/IEC N3797 (C++1y) both note a header <cstdalign> which defines only __alignas_is_defined and shall not define the alignas macro. It misses the alignof case as it's probably based on an older C1x draft, which defined only alignas. Assume that this is a bug in the standard and treat alignof the same way as alignas in C++11. Allow to define alignas and alignof in C++ prior the C++11 standard. It might be broken but a nonstandard C++ compiler might support C11-like _Alignas and _Alignof. Note that it's fatal for g++(1) v.5.4.
2016-10-02Import <stdnoreturn.h>kamil
This header conforms to the C11 standard Reference: ISO/IEC 9899:201x 7.23 _Noreturn <stdnoreturn.h> According to ISO/IEC 9899:201x (draft) <stdnoreturn.> defines the noreturn macro which expands to _Noreturn. The _Noreturn keyword appears in a function declaration and specifies that the function does not return by reaching the end of the function body. Design choices: - don't implicitly break C++ code including this header with #error C++11 offers [[noreturn]] which conflicts with C11 _Noreturn - don't check for __STDC_VERSION__, everybody is free to reuse it with a nonstandard compiler not conforming to C11 but supporting _Noreturn gcc(1) and clang(1) support _Noreturn in -std=c99 and older standards this follows <stdbool.h> choice for not checking for C99 - follow <stdbool.h> and declare the __noreturn_is_defined guard - use a standard header guard (_STDNORETURN_H_), similar to <stdbool.h> Reviewed by <pgoyette> and <joerg>
2015-07-29move stdbool.h to sys, reuire pool.h to include <sys/stdbool.h> for bool,christos
centralize definitions of bool, true, false, to <sys/stdbool.h>
2013-12-11Allow kernel code to access constant databases by moving cdbr(3) and thejoerg
required mi_vector_hash(3) into src/common.
2012-02-11Add userland part of posix_spawn. Libc functions imported from FreeBSD.martin
Based on Charles Zhang's summer of code project.
2012-02-05Migrate one last leftover bit (used only by the kernel now) todholland
sys/ufs/ufs and remove the old quota headers and no-longer-used shared code. Ok by releng.
2012-01-09Add <quota.h> with the new libquota API.dholland
This is the user/application API and does not include the kernel interface. Definitions shared with the kernel are found in <sys/quota.h>. Since I've been working on a local branch I have taken the liberty of moving the latest-so-far version of <quota.h> to the front of the patch queue. This loses (a small amount of) history but has the advantage of avoiding unnecessary version bumps of libquota.so.
2011-08-26Build and install ppath(3), property-list paths library.dyoung
2011-07-17Retire varargs.h support. Move machine/stdarg.h logic into MIjoerg
sys/stdarg.h and expect compiler to provide proper builtins, defaulting to the GCC interface. lint still has a special fallback. Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and derive va_list as required by standards.
2011-03-24Add a new libquota library, which contains some blocks to build and/orbouyer
parse quota plists; as well as a getfsquota() function to retrieve quotas for a single id from a single filesystem (whatever filesystem this is: a local quota-enabled fs or NFS). This is build on functions getufsquota() (for local filesystems with UFS-like quotas) and getnfsquota(); which are also available to userland programs. move functions from quota2_subr.c to libquota or libprop as appropriate, and ajust in-tree quota tools. move some declarations from kernel headers to either sys/quota.h or quota/quota.h as appropriate. ufs/ufs/quota.h still installed because it's needed by other installed ufs headers. ufs/ufs/quota1.h still installed as a quick&dirty way to get a code using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of ufs/ufs/quota.h - old code won't compile without this change and this is on purpose). Discussed on tech-kern@ and tech-net@ (long thread, but not much about libquota itself ...)
2010-07-31Add support for fenv.h interface for i386 and amd64.joerg
Submitted by Stathis Kamperis as part of GSoC 2010 and ported from FreeBSD.
2010-04-25Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).joerg
They implement a space efficent write-once database with fast access path. Switch the services(5) database to use cdb. The size of the database file decreases from 2.1MB disk space to 307KB. Access performance is about the same if setservent(0) is used and about an order of magnitude faster otherwise. services_mkdb defaults to the new format, but can optionally create the old db(3) format as well for statically linked legacy applications.
2008-05-28/usr/include/atomic.h, for Solaris source compat.ad
2007-09-07Implementation of POSIX message queues.rmind
Reviewed by: <ad>, <tech-kern>
2007-08-20Add C99 complex support, for double and float.drochner
Most complex function implementations are from the "c9x-complex" library, originating from the "cephes" math library, see http://www.netlib.org/cephes/, from Stephen L. Moshier, incorporated and redistributed with the NetBSD license by permission of the author. Error behaviour and other boundary conditions (branch cuts) need to be looked at. For namespace sanity, I've done the rename/weak alias procedure to most of the exported functions which are also used internally. Didn't do so for sin/cos(f) yet because assembler implementations use them directly, and renaming functions shared between the main libm and the machine specific "overlay" might raise binary compatibility issues.
2007-05-30Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp"tls
(what other systems keep in libssp, we already have in libc) into libc to match what other systems with FORTIFY_SOURCE do. Goodbye, libssp dependency in libraries and executables. Discussed with christos and mrg; Christos will merge the headers to get us the rest of the way to a FORTIFY_SOURCE implementation that works as others' code expects.
2007-04-30Import of POSIX Asynchronous I/O.rmind
Seems to be quite stable. Some work still left to do. Please note, that syscalls are not yet MP-safe, because of the file and vnode subsystems. Reviewed by: <tech-kern>, <ad>
2007-02-09Sync with changes introduced by merging the newlock2 branch.ad
2006-10-30kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks tochristos
/usr/include from /usr/include/sys. This makes all the one way hash header handling identical.
2006-06-02remove support for building (with) GCC 2.95. also:mrg
- always install <stdbool.h> - don't generate a fake one for vax / gettext.
2006-04-27Install proplib include files.thorpej
2006-04-07retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.mrg
2005-12-30Add Todd Miller's ftw(3) and nftw(3) file-tree walking functionality,agc
from OpenBSD. Bump libc minor to 136.
2005-04-03Add FreeBSD's strfmon(3). From Rui Paulo. No bump this time. Take advantagechristos
of the getpwent_r bump.
2004-12-14Nuke threadlib.h. Library defensive threading is now provided through thenathanw
normal pthread.h interface. Move stubs for libc back into a libc-internal header.
2004-09-13DCE 1.1 RPC compatible UUID routines for libc, adapted from FreeBSD.thorpej
Encode/decode to big/little endian binary blob routines adapted from kernel. PR 23470.
2004-07-13Add wordexp(3). The wordexp function performs shell-style word expansions.seb
This implementation is wrapper around the undocumented wordexp sh(1) built-in command. From FreeBSD. Provided in PR lib/26123. Approved by kleink@.
2004-05-21install new files.christos
2003-10-14Replace symbolic link "/usr/include/varargs.h" (pointing totron
"/usr/include/machine/varargs.h") by a stub include file which will emit an error if GCC 3.3 or newer is used and include "machine/varargs.h" otherwise. Based on a suggestion by Richard Earnshaw. This fixes PR toolchain/22888 by myself.
2003-10-01make some files symlinks from sys.christos
2003-09-09add randomid(3).itojun
2003-08-27introduce an additional switch to enable building GCC3 instead of GCC2:mrg
HAVE_GCC3. if this is set, we also set USE_TOOLS_TOOLCHAIN=no. change the definition of the former to be restricted to whether tools/toolchain is used or not.
2003-07-26install stdbool.h if gcc3mrg
2003-06-27Citrus iconv support(4)tshiozak
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and iconv(1) utility. TODO: - bump libc minor. - add iconv data files. - create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/ mkesdb(1)/mkcsmapper(1).
2003-03-22install mntopts.hjdolecek
2003-01-20add support for p1003.1b semaphores. From FreeBSDchristos
2003-01-19Expose libc's thread stubs, which get magically turned into real pthreadthorpej
calls when the pthread library is linked in. Simplifies making other libraries (such as X's) thread-safe.
2003-01-18Merge the nathanw_sa branch.thorpej
2002-09-18minor makefile delintlukem
2002-03-31split /usr/include/sys/sha1.h and /usr/include/sha1.h completely.bjh21
future direction: nuke /usr/include/sys/sha1.h, it shouldn't be there as we don't provide libkern to userland. This mirrors the same change for md5.h made by itojun on 2000/12/11.
2002-03-22Split the notion of building Hesiod, Kerberos, S/key, and YPthorpej
infrastructure and using that infrastructure in programs. * MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building of the infratsructure (libraries, support programs, etc.) * USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control building of support for using the corresponding API in various libraries/programs that can use it. As discussed on tech-toolchain.
2002-02-22A utmpx implementation.christos
2002-02-04Don't install <stdbool.h> for now. Lossage resulting from me testingthorpej
with a not-in-tree compiler.
2002-02-02ISO C / SUSv3 <stdbool.h>.thorpej
2001-12-12MKfoo=no -> NOfoo=tv
2001-07-17A <sched.h> file, which provides the clone(2) prototypes, in orderthorpej
to be compatible with Linux.
2001-04-28* Move definitions of exact-width integer types from <machine/types.h>kleink
to <sys/types.h> and <sys/stdint.h>. * Add a new C99 <stdint.h> header, which provides integer types of explicit width, related limits and integer constant macros. * Extend <inttypes.h> to provide <stdint.h> definitions and format macros for printf() and scanf(). * Add C99 strtoimax() and strtoumax() functions. * Use the latter within scanf(). * Add C99 %j, %t and %z printf()/scanf() conversions for intmax_t, pointer-type and size_t arguments.