| #
a3baebf8 |
| 08-Oct-2024 |
christos <christos@NetBSD.org> |
PR/58729: Taylor R Campbell: container_of is not documented or available in userland
|
| #
f84e469f |
| 25-Aug-2024 |
christos <christos@NetBSD.org> |
PR/58640: Riastradh: Provide sys/stdalign.h
|
| #
cc1e5796 |
| 15-Aug-2024 |
riastradh <riastradh@NetBSD.org> |
uchar.h: New header file for C11 (and C++11) compliance.
Implementation of the new functions mbrtoc16, c16rtomb, mbrtoc32, and c32rtomb to come later. Updates for C23 to come later.
PR lib/52374:
uchar.h: New header file for C11 (and C++11) compliance.
Implementation of the new functions mbrtoc16, c16rtomb, mbrtoc32, and c32rtomb to come later. Updates for C23 to come later.
PR lib/52374: <uchar.h> missing
show more ...
|
| #
6f60c4f9 |
| 04-Jun-2019 |
hannken <hannken@NetBSD.org> |
Move the basic part of XDR to common/include/rpc and common/lib/libc/rpc.
No functional change intended.
|
| #
81b96f23 |
| 24-Apr-2019 |
roy <roy@NetBSD.org> |
Don't install YP headers when MKYP=no
|
| #
a1df7aec |
| 16-Oct-2017 |
maya <maya@NetBSD.org> |
Add endian.h header. Simply includes sys/endian.h
<endian.h> has been accepted by the austin group.
|
| #
7db6ba3b |
| 02-Oct-2016 |
kamil <kamil@NetBSD.org> |
Import <stdalign.h>
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
Import <stdalign.h>
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.
show more ...
|
| #
7798b8a7 |
| 02-Oct-2016 |
kamil <kamil@NetBSD.org> |
Import <stdnoreturn.h>
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 noretur
Import <stdnoreturn.h>
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>
show more ...
|
| #
024ced04 |
| 29-Jul-2015 |
christos <christos@NetBSD.org> |
move stdbool.h to sys, reuire pool.h to include <sys/stdbool.h> for bool, centralize definitions of bool, true, false, to <sys/stdbool.h>
|
| #
aceb2135 |
| 11-Dec-2013 |
joerg <joerg@NetBSD.org> |
Allow kernel code to access constant databases by moving cdbr(3) and the required mi_vector_hash(3) into src/common.
|
| #
19f52532 |
| 11-Feb-2012 |
martin <martin@NetBSD.org> |
Add userland part of posix_spawn. Libc functions imported from FreeBSD. Based on Charles Zhang's summer of code project.
|
| #
7609b9bc |
| 05-Feb-2012 |
dholland <dholland@NetBSD.org> |
Migrate one last leftover bit (used only by the kernel now) to sys/ufs/ufs and remove the old quota headers and no-longer-used shared code. Ok by releng.
|
| #
0d7dfe62 |
| 09-Jan-2012 |
dholland <dholland@NetBSD.org> |
Add <quota.h> with the new libquota API.
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 w
Add <quota.h> with the new libquota API.
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.
show more ...
|
| #
99432646 |
| 26-Aug-2011 |
dyoung <dyoung@NetBSD.org> |
Build and install ppath(3), property-list paths library.
|
| #
3eb244d8 |
| 17-Jul-2011 |
joerg <joerg@NetBSD.org> |
Retire varargs.h support. Move machine/stdarg.h logic into MI sys/stdarg.h and expect compiler to provide proper builtins, defaulting to the GCC interface. lint still has a special fallback. Reduce a
Retire varargs.h support. Move machine/stdarg.h logic into MI 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.
show more ...
|
| #
d9210c24 |
| 24-Mar-2011 |
bouyer <bouyer@NetBSD.org> |
Add a new libquota library, which contains some blocks to build and/or parse quota plists; as well as a getfsquota() function to retrieve quotas for a single id from a single filesystem (whatever fil
Add a new libquota library, which contains some blocks to build and/or 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 ...)
show more ...
|
| #
7f1183f2 |
| 31-Jul-2010 |
joerg <joerg@NetBSD.org> |
Add support for fenv.h interface for i386 and amd64.
Submitted by Stathis Kamperis as part of GSoC 2010 and ported from FreeBSD.
|
| #
b9cf7d31 |
| 25-Apr-2010 |
joerg <joerg@NetBSD.org> |
Add the constant database reader (cdbr(3)) and writer ((cdbw(3)). They implement a space efficent write-once database with fast access path. Switch the services(5) database to use cdb. The size of th
Add the constant database reader (cdbr(3)) and writer ((cdbw(3)). 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.
show more ...
|
| #
032b9298 |
| 28-May-2008 |
ad <ad@NetBSD.org> |
/usr/include/atomic.h, for Solaris source compat.
|
| #
2cecf9bb |
| 07-Sep-2007 |
rmind <rmind@NetBSD.org> |
Implementation of POSIX message queues.
Reviewed by: <ad>, <tech-kern>
|
| #
9d8b5fa7 |
| 20-Aug-2007 |
drochner <drochner@NetBSD.org> |
Add C99 complex support, for double and float. Most complex function implementations are from the "c9x-complex" library, originating from the "cephes" math library, see http://www.netlib.org/cephes/,
Add C99 complex support, for double and float. 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.
show more ...
|
| #
2368dc66 |
| 30-May-2007 |
tls <tls@NetBSD.org> |
Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp" (what other systems keep in libssp, we already have in libc) into libc to match what other systems with FORTIFY_SOURCE do. Goo
Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp" (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.
show more ...
|
| #
67d703cf |
| 30-Apr-2007 |
rmind <rmind@NetBSD.org> |
Import of POSIX Asynchronous I/O. 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-
Import of POSIX Asynchronous I/O. 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>
show more ...
|
| #
34eaab26 |
| 09-Feb-2007 |
ad <ad@NetBSD.org> |
Sync with changes introduced by merging the newlock2 branch.
|
| #
11c53ad6 |
| 30-Oct-2006 |
christos <christos@NetBSD.org> |
kill crypto/rmd160.h and crypto/sha2.h, and instead make symlinks to /usr/include from /usr/include/sys. This makes all the one way hash header handling identical.
|