sortix-mirror/libc/stdlib
Jonas 'Sortie' Termansen 29555d72bb Fix <fcntl.h> including <sys/stat.h> namespace pollution.
POSIX allows <fcntl.h> to include <sys/stat.h>, but doesn't require it.
There's little reason to do that, since they are separate headers, and
<fcntl.h> just needs the mode_t constants. Fix the code accidentally
relying on <fcntl.h> including <sys/stat.h>. The mode_t constants are now
provided in their own kernel header <sortix/mode.h>.

Additionally fix <sys/stat.h> pulling in all of <sys/types.h>, which is not
allowed by POSIX, which only requires a few types to be declared. Fix the
code accidentally relying on <sys/stat.h> including <sys/types.h>.

Finally fix <dirent.h> pulling in <stdint.h> through <sortix/dirent.h>.

The <sortix/__/dt.h> and <sortix/__/stat.h> headers are no longer required
and their contents have been merged into <sortix/__/dirent.h>.
2018-08-06 23:59:34 +02:00
..
_Exit.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
abort.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
abs.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
arc4random.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
arc4random_buf.c Seed kernel entropy with randomness from the previous boot. 2016-10-04 00:34:50 +02:00
arc4random_uniform.c Convert libc to C. 2016-03-03 23:02:23 +01:00
atexit.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
atof.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
atoi.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
atol.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
atoll.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
bsearch.c Fix bsearch(3) performance. 2016-05-15 19:30:51 +02:00
calloc.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
canonicalize_file_name.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
canonicalize_file_name_at.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
clearenv.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
div.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
exit.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
free.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
getenv.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
grantpt.c Add grantpt(3). 2016-11-23 22:31:40 +01:00
labs.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ldiv.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
llabs.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
lldiv.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
malloc.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mblen.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mbstowcs.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mbtowc.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mkdtemp.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mkdtemps.c Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
mkostemp.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mkostemps.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mkstemp.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mkstemps.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
on_exit.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
posix_openpt.c Add posix_openpt(3). 2016-11-23 22:31:05 +01:00
ptsname.c Add ptsname(3). 2016-11-23 22:31:40 +01:00
ptsname_r.c Add ptsname_r(3). 2016-11-23 22:31:41 +01:00
qsort.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
qsort_r.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
rand.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
realloc.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
reallocarray.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
realpath.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
setenv.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
strtod.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
strtof.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
strtol.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
strtold.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
strtoll.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
strtoul.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
strtoull.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
system.c Fix execl(3) sentinel undefined behaviour. 2016-09-30 23:36:49 +02:00
unlockpt.c Add unlockpt(3). 2016-11-23 22:31:40 +01:00
unsetenv.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
wcstombs.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
wctomb.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00