Jonas 'Sortie' Termansen
82fd2d4c92
Recognize and advertise POSIX 2024 support.
...
Update feature macros for interfaces added to POSIX 2024.
This commit begins the work of implementing POSIX 2024, which was
largely already implemented as extensions.
2024-06-23 13:33:55 +02:00
Jonas 'Sortie' Termansen
eb1f28c738
Add kernel heap allocation tracing debug facility.
2024-06-22 18:25:48 +02:00
Jonas 'Sortie' Termansen
611dc22e73
Standardize header include guards.
...
This change makes all the standard library and kernel headers use header
guards with a consistent scheme within the reserved namespace to avoid
conflicts with non-standard-library-implementation code.
2022-07-09 20:51:13 +02:00
Jonas 'Sortie' Termansen
515d91a31b
Fix <stdlib.h> using long long in C89 mode.
2017-08-20 12:44:34 +02:00
Jonas 'Sortie' Termansen
52ea22d793
Add ptsname_r(3).
2016-11-23 22:31:41 +01:00
Jonas 'Sortie' Termansen
1f742d521c
Add ptsname(3).
2016-11-23 22:31:40 +01:00
Jonas 'Sortie' Termansen
88de69487b
Add unlockpt(3).
2016-11-23 22:31:40 +01:00
Jonas 'Sortie' Termansen
46ebbf82d4
Add grantpt(3).
2016-11-23 22:31:40 +01:00
Jonas 'Sortie' Termansen
2563b926ad
Add posix_openpt(3).
2016-11-23 22:31:05 +01:00
Jonas 'Sortie' Termansen
2b72262b4f
Relicense Sortix to the ISC license.
...
I hereby relicense all my work on Sortix under the ISC license as below.
All Sortix contributions by other people are already under this license,
are not substantial enough to be copyrightable, or have been removed.
All imported code from other projects is compatible with this license.
All GPL licensed code from other projects had previously been removed.
Copyright 2011-2016 Jonas 'Sortie' Termansen and contributors.
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2016-03-05 22:21:50 +01:00
Jonas 'Sortie' Termansen
a90151e508
Set MB_CUR_MAX to 4.
2015-12-12 19:28:08 +01:00
Jonas 'Sortie' Termansen
59e7dd00c5
Add mkdtemps(3).
2015-08-26 16:49:18 +02:00
Jonas 'Sortie' Termansen
a79aeed0c1
Remove __BEGIN_DECLS and __END_DECLS.
2015-08-26 14:52:44 +02:00
Jonas 'Sortie' Termansen
25482f875e
Remove mktemp(3).
2015-04-13 00:00:29 +02:00
Jonas 'Sortie' Termansen
8cd4c1f5a0
Add mkdtemp(3).
2015-02-09 18:56:14 +01:00
Jonas 'Sortie' Termansen
f0e3e2cfef
Add mkostemps(3) family.
2015-02-09 18:56:14 +01:00
Jonas 'Sortie' Termansen
f0ae50e35d
Warn on mktemp use.
2014-12-09 15:33:29 +01:00
Jonas 'Sortie' Termansen
26f4000983
Warn on rand and srand use.
2014-12-09 15:23:27 +01:00
Jonas 'Sortie' Termansen
261b95e0a6
Add reallocarray(3).
2014-12-03 23:55:55 +01:00
Jonas 'Sortie' Termansen
edb19f2394
Add arc4random(3).
2014-11-28 13:35:51 +01:00
Jonas 'Sortie' Termansen
f41964fcab
Reimplement wchar conversion API.
2014-11-24 17:41:26 +01:00
Jonas 'Sortie' Termansen
a9cf3cc684
Add qsort_r(3).
2014-09-25 18:20:00 +02:00
Jonas 'Sortie' Termansen
05b0713bfa
Fix mktemp(3) prototype visibility in <stdlib.h>.
2014-04-05 17:02:49 +02:00
Jonas 'Sortie' Termansen
e91cde379a
Rewrite getenv(3), setenv(3), unsetenv(3) and clearenv(3).
2014-03-17 19:22:11 +01:00
Jonas 'Sortie' Termansen
b08455c4d3
Remove mxmpp.
2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
a4220d5b5f
Fix incorrect usage of __is_sortix_foo macros in preprocessor conditionals.
...
These macros might not be defined, in which case this usage would have
generated warnings had they not been in system headers.
2014-01-18 16:30:55 +01:00
Jonas 'Sortie' Termansen
b9e463965b
Split libc/stdlib/on_exit.cpp into multiple files.
2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen
30a95dfa1e
Split parts of <features.h> into <sys/cdefs.h>.
2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen
9700623737
Remove obsolete __SORTIX_SHOW_UNIMPLEMENTED feature macro.
2013-12-17 14:30:42 +01:00
Jonas 'Sortie' Termansen
ad1c6e0ed7
Remove <sys/__/types.h> inclusion from <features.h>.
2013-12-17 14:30:42 +01:00
Jonas 'Sortie' Termansen
f79508fbc9
Remove __POSIX_OBSOLETE feature macro.
2013-12-17 14:30:42 +01:00
Jonas 'Sortie' Termansen
fd4b35f986
Add mkstemp(3).
2013-12-17 14:30:42 +01:00
Jonas 'Sortie' Termansen
7f543dc910
Add strto{f,d,ld}(3).
2013-12-17 14:30:33 +01:00
Jonas 'Sortie' Termansen
ee4acf731c
Add mblen(3).
2013-12-17 14:30:33 +01:00
Jonas 'Sortie' Termansen
3eeec255c0
Use alternate restrict keyword when unavailable.
2013-12-17 14:30:32 +01:00
Jonas 'Sortie' Termansen
cab4293090
Add wcstombs(3).
2013-12-17 14:30:31 +01:00
Jonas 'Sortie' Termansen
9e242e9cd7
Add mbstowcs(3).
2013-12-17 14:30:31 +01:00
Jonas 'Sortie' Termansen
cc5302af31
Add atof(3).
2013-12-17 14:30:30 +01:00
Jonas 'Sortie' Termansen
9d3937fe9e
Add realpath(3).
2013-12-17 14:30:28 +01:00
Jonas 'Sortie' Termansen
0ce3d61cb9
Add canonicalize_file_name{,_at}(3).
2013-12-17 14:30:28 +01:00
Jonas 'Sortie' Termansen
1a3aa45c2c
Add srand(3).
2013-12-17 14:30:28 +01:00
Jonas 'Sortie' Termansen
6d86af8d60
Avoid noreturn macro conflict in <stdlib.h>.
2013-12-17 14:30:28 +01:00
Jonas 'Sortie' Termansen
2630c7cb4e
Add div(3), ldiv(3) and lldiv(3).
2013-12-17 14:30:28 +01:00
Jonas 'Sortie' Termansen
2d86b7dcf2
Add system(3).
2013-12-17 14:30:27 +01:00
Jonas 'Sortie' Termansen
05219a27f2
Add mbrtowc(3), mbtowc(3), wcrtomb(3), wctomb(3).
2013-12-17 14:30:26 +01:00
Jonas 'Sortie' Termansen
90036ca6a8
Update copyright headers of old files to the current format.
2013-12-17 14:30:23 +01:00
Jonas 'Sortie' Termansen
92b029b07f
Remove tabs from header include guards.
2013-12-17 14:30:23 +01:00
Jonas 'Sortie' Termansen
d12c420ca1
Add W* wait constants to stdlib.h.
2013-09-24 16:52:29 +02:00
Jonas 'Sortie' Termansen
be4858f82c
Rename libmaxsi to sortix libc.
2012-12-14 14:13:36 +01:00