summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2015-12-22Add __HAVE_FENVchristos
2015-12-21Add fenv.h for mipschristos
2015-12-20Powerpc now has fenv.hchristos
2015-11-20add some constchristos
2015-11-20keep value as an int.christos
2015-11-20update to size_tchristos
2015-11-19Revertreinoud
2015-11-19Fix ANSI-C prototype errorreinoud
2015-11-16PR/50434: Louis Guillaume: Bump the in and out formats to 511 (NAME_MAX)christos
2015-11-07provide a poll(2) based interface.christos
2015-11-07Put back NULL tests for allocation failures.christos
2015-11-07Add the C11 function aligned_alloc to libc.nros
2015-11-06Switch to the size-unlimited fd_set. Some code will need to change to bechristos
able to use this if the code allocates its own fd_set's.
2015-11-06- provide accessor functions for the fdset's used internally.christos
- add getreqset2 method that takes a setsize.
2015-10-29add tzgetgmtoffchristos
2015-09-24add kinfo_getvmmap() declchristos
2015-09-03correct __ssp_overlap() to not trigger for adjacent areasplunky
2015-07-31Do as POSIX says, define the timespec structure in <signal.h>kamil
Extract struct timespec from <sys/time.h> and put into a separate header. This solution is minimally invasive.
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>
2015-07-26Add ereallocarr(3) to libutilkamil
ereallocarr(3) wraps reallocarr(3) and embeds return status validation. Older version reviewed by <riastradh> and <christos>
2015-07-11updatre with latest from tzcode.christos
2015-06-25Allow SSP enabled functions to conditionally skip the object size check.joerg
Use this is fix the getcwd(NULL, lmit) case, which breaks in lang/parrot.
2015-05-29Make PTHREAD_KEYS_MAX dynamically adjustablemanu
NetBSD's PTHREAD_KEYS_MAX is set to 256, which is low compared to other systems like Linux (1024) or MacOS X (512). As a result some setups tested on Linux will exhibit problems on NetBSD because of pthread_keys usage beyond the limit. This happens for instance on Apache with various module loaded, and in this case no particular developper can be blamed for going beyond the limit, since several modules from different sources contribute to the problem. This patch makes the limit conigurable through the PTHREAD_KEYS_MAX environement variable. If undefined, the default remains unchanged (256). In any case, the value cannot be lowered below POSIX-mandated _POSIX_THREAD_KEYS_MAX (128). While there: - use EXIT_FAILURE instead of 1 when calling err(3) in libpthread. - Reset _POSIX_THREAD_KEYS_MAX to POSIX mandated 128, instead of 256.
2015-05-23add VIS_NOLOCALE flagchristos
2015-05-09add a macro to check overlapping pointerschristos
2015-05-06Add missing PATH_WATCHDOG (to complement PATH_SYSMON and PATH_POWER)pgoyette
2015-03-24Put fseeko, ftello, pread, and pwrite in the POSIX 2001 namespace.wiz
Ok christos, apb, martin
2015-03-05One vscanf_l is ample.dholland
2015-03-04PR/49715: Henning Petersen: Missing _*_DECLS in stdio.h around popenve.christos
2015-02-24belated removal of the advertising clause.christos
2015-02-22PR/49684: Pierre Pronchery: readlinkat(2) return type is wrong.christos
2015-02-17Move reallocarray under _OPENBSD_SOURCE where it belongs.joerg
2015-02-17Introduce reallocarr(3) for easy (re)allocation of memory with overflowjoerg
checks. Compared to OpenBSD's reallocarray, makes it easier to avoid memory leaks on allocation failures and it doesn't depend on malloc(0) != NULL for correct error checking. Compared to plain realloc, it also avoids the problem of intermediate integer overflows. The trade-off is the use of void * to side step C type system with regard to generic pointer to pointer.
2015-02-05add reallocarraychristos
2015-01-20add popenve().christos
2015-01-18add estrto{i,u} (Kamil Rytarowski)christos
2015-01-18remove restrict to match with OpenBSD prototype (Kamil Rytarowski)christos
2015-01-16Add strtonum protected with _OPENBSD_SOURCEchristos
2015-01-16strtoi and strtou additionschristos
2014-12-27fenv(3) support for hppamartin
2014-11-29Create the stpncpy() inline only when GCC>=4.8 || clangpooka
Mirrors the stpncpy() wrapper macro and avoids the following: warning: implicit declaration of function ‘__builtin___stpncpy_chk’
2014-10-13add open_{,w}memstreamchristos
2014-10-07sync function signatures with tzcodechristos
2014-09-26add execvpe, execlpe (reviewed by phone)christos
2014-09-26add VIS_META/VIS_SHELL support to encode all shell metacharacters.christos
XXX: /etc/rc.d/wizd fix $
2014-09-24add strnstr from FreeBSDchristos
2014-09-19RISC-V support <fenv.h>matt
2014-09-03or1k support <fenv.h>matt
2014-08-10Changes to existing files to enable building AARCH64 userland.matt
evbarm64-el This is clang only. While gcc4.8 supports aarch64, no netbsd support has been written for aarch64 with gcc4.8.
2014-08-07cast to LHS type and minor KNF.christos