sortix--sortix/libc
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
..
arpa/inet Add inet_pton(3). 2017-02-14 20:43:30 +01:00
assert
blf
c++
ctype
dirent
dlfcn
err Add errc(3) family. 2016-11-06 15:31:52 -06:00
errno
error
fcntl
fnmatch
fsmarshall
fstab
getopt
grp
include Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
init
inttypes
ioleast
langinfo
libgen
locale
malloc
msr
netdb Add getnameinfo(3). 2017-02-14 20:43:30 +01:00
netinet/in
poll
psctl
pthread
pty Add openpty(3). 2016-11-23 22:31:05 +01:00
pwd Fix <stdio.h> pulling in <pthread.h> through <FILE.h> when __is_sortix_libc. 2018-07-17 12:25:52 +02:00
regex
sched
scram Document scram(2). 2017-02-12 13:59:07 +01:00
semaphore
signal
ssp
stdio Fix <stdio.h> pulling in <pthread.h> through <FILE.h> when __is_sortix_libc. 2018-07-17 12:25:52 +02:00
stdio_ext
stdlib Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
string Fix EDESTADDRREQ typo. 2016-12-28 23:08:29 +01:00
sys Allow AF_UNSPEC family in socketpair(2). 2017-08-26 16:49:57 +02:00
syslog
termios Add pseudo terminals. 2016-11-23 22:31:05 +01:00
time Add December 31 2016 leap second. 2016-10-30 21:20:00 +01:00
timespec
ubsan
unistd Fix typo in getentropy(2). 2018-02-04 13:39:37 +01:00
utime
wchar
wctype
x64
x86
.gitignore
Makefile Add inet_pton(3). 2017-02-14 20:43:30 +01:00