sortix--sortix/libc/include
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
..
__ Fix empty struct thread_rwlockattr_t. 2017-08-20 12:44:33 +02:00
arpa Deprecate inet_addr(3) and inet_ntoa(3). 2017-02-14 20:43:30 +01:00
netinet
sys Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
DIR.h
FILE.h Fix <stdio.h> pulling in <pthread.h> through <FILE.h> when __is_sortix_libc. 2018-07-17 12:25:52 +02:00
alloca.h
ar.h
argp.h
assert.h
blf.h
brand.h
byteswap.h
ctype.h
dirent.h Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
dlfcn.h
elf.h
endian.h
err.h Add errc(3) family. 2016-11-06 15:31:52 -06:00
errno.h Clean up errno. 2016-05-15 22:43:29 +02:00
error.h
fcntl.h Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
features.h
fnmatch.h
fsmarshall-msg.h Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
fsmarshall.h
fstab.h
getopt.h
grp.h
inttypes.h
ioleast.h
langinfo.h Add nl_langinfo(3). 2016-10-03 20:02:12 +02:00
libgen.h
libk.h Seed kernel entropy with randomness from the previous boot. 2016-10-04 00:34:50 +02:00
locale.h Fix <locale.h> not defining NULL. 2017-08-20 12:44:34 +02:00
malloc.h Fix kernel HEAP_GUARD_DEBUG support. 2017-05-15 22:11:24 +02:00
msr.h Compile libc with -ffreestanding. 2016-05-15 22:43:29 +02:00
netdb.h
poll.h
psctl.h
pthread.h
pty.h Add openpty(3). 2016-11-23 22:31:05 +01:00
pwd.h
regex.h Add REG_STARTEND. 2016-10-30 18:08:59 +01:00
sched.h
scram.h
semaphore.h
setjmp.h
signal.h Fix <signal.h> namespace pollution for strict C. 2017-08-20 12:44:33 +02:00
stdint.h
stdio.h Remove UL suffix from BUFSIZ. 2016-10-03 20:02:11 +02:00
stdio_ext.h
stdlib.h Fix <stdlib.h> using long long in C89 mode. 2017-08-20 12:44:34 +02:00
string.h Fix <string.h> including <sys/__/types.h> in strict C mode. 2017-08-20 12:44:34 +02:00
strings.h
syslog.h
system-elf.h
termios.h Add pseudo terminals. 2016-11-23 22:31:05 +01:00
time.h
timespec.h
unistd.h Add support for sessions. 2016-11-23 22:30:47 +01:00
utime.h
wchar.h
wctype.h