sortix-mirror/kernel/include/sortix
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 <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
kernel Fix SEEK_END, file offset overflow, and read/write/mkpartition syscall bugs. 2017-12-04 23:56:46 +01:00
clock.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
dirent.h Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
display.h Fix system headers using C89 incompatible comments. 2017-07-10 13:37:46 +02:00
exit.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fcntl.h Add factory inode support. 2016-11-23 21:46:06 +01:00
fork.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
initrd.h Fix system headers using C89 incompatible comments. 2017-07-10 13:37:46 +02:00
ioctl.h Detect whether the terminal has a display and a keyboard layout. 2016-11-23 22:31:04 +01:00
itimerspec.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
kblayout.h Fix system headers using C89 incompatible comments. 2017-07-10 13:37:46 +02:00
keycodes.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
limits.h Move readv/writev family and sendmsg/recvmsg into drivers. 2017-02-13 22:04:21 +01:00
mman.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mode.h Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
mount.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
poll.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
psctl.h Add support for sessions. 2016-11-23 22:30:47 +01:00
resource.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
seek.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sigaction.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sigevent.h Compile libc with -ffreestanding. 2016-05-15 22:43:29 +02:00
siginfo.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
signal.h Fix <signal.h> namespace pollution for strict C. 2017-08-20 12:44:33 +02:00
sigprocmask.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sigset.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sigval.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
socket.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
stack.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
stat.h Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
statvfs.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
syscall.h Add socket(2). 2017-02-14 20:43:31 +01:00
tar.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
termios.h Add ONLCR and OCRNL. 2016-11-05 23:38:40 +01:00
termmode.h Add ONLCR and OCRNL. 2016-11-05 23:38:40 +01:00
time.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
timespec.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
tmns.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
types.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ucontext.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
uio.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
unistd.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
uthread.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
vga.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
wait.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
winsize.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00