Jonas 'Sortie' Termansen
4dda38cab3
Added ENODRV.
2012-07-24 19:56:32 +02:00
Jonas 'Sortie' Termansen
ec5fa92761
Programmers can now redirect what the errno macro refers to.
2012-07-06 17:18:06 +02:00
Jonas 'Sortie' Termansen
87b81080d5
Added sortix_strerror(3) which replaces strerror(3).
...
The string returned is now const - POSIX did not allow modifying the string
in any case, conforming applications should not break. If _SORTIX_SOURCE is
defined strerror(3) automatically redirects to sortix_strerror(3),
otherwise the application will receive the traditional function.
2012-05-27 17:38:00 +02:00
Jonas 'Sortie' Termansen
9905a2f2d6
Added EINIT, "Not initialized".
2012-05-27 17:20:33 +02:00
Jonas 'Sortie' Termansen
5d59f0ed03
Added EBOUND.
2012-04-02 20:24:56 +02:00
Jonas 'Sortie' Termansen
757184fd5c
Added EEOF.
2012-03-24 15:19:16 +01:00
Jonas 'Sortie' Termansen
db79994e64
Refactored all the sortix headers into a include directory.
...
Also got rid of trailing white space. That corrupted .git/.
Big ass-commit because of recovered .git directory.
2012-03-22 00:52:29 +01:00
Jonas 'Sortie' Termansen
e0e0cadf4a
Changed error message for ENOMEM to something sensible.
2012-03-19 02:26:32 +01:00
Jonas 'Sortie' Termansen
f54cb6ab94
Added EAGAIN and made read(1) and write(1) retry if they get it.
2012-03-17 15:35:45 +01:00
Jonas 'Sortie' Termansen
2cdeb575f8
Renamed EACCESS to EACCES.
...
Stupid POSIX.
2012-03-12 01:43:00 +01:00
Jonas 'Sortie' Termansen
6de3c462be
Added EMFILE.
2012-03-12 01:37:50 +01:00
Jonas 'Sortie' Termansen
4ad0d360da
Added EILSEQ.
2012-03-11 20:44:57 +01:00
Jonas 'Sortie' Termansen
beb88d0443
Added EPIPE.
2012-03-11 20:11:32 +01:00
Jonas 'Sortie' Termansen
c2660e5432
Added EBUSY.
2012-03-10 23:18:27 +01:00
Jonas 'Sortie' Termansen
f8bcf3117d
Added ENOTEMPTY.
2012-03-10 23:12:31 +01:00
Jonas 'Sortie' Termansen
2722c3f03d
Added EINTR.
2012-03-06 13:36:44 +01:00
Jonas 'Sortie' Termansen
f9f59e9536
Added ELAKE.
2012-03-03 01:06:32 +01:00
Jonas 'Sortie' Termansen
fec176fa15
Refactored the libmaxsi/ directory.
...
C and C++ files are now kept together and so are the mxmpp declarations.
Header files are now stored in include/ and mxmpp'd into preproc/.
All other code now -I ../libmaxsi/preproc.
And other stuff to make this happen, including refactoring Makefile.
2012-02-12 13:20:53 +01:00
Jonas 'Sortie' Termansen
5fde8e13ed
Blocking systemcalls now return EBLOCKING instead of EWOULDBLOCK.
...
EWOULDBLOCK is now used when it wanted to block, but didn't.
2012-02-10 13:28:28 +01:00
Jonas 'Sortie' Termansen
f676cf75f4
Added ENOTSUP.
2012-01-18 15:40:31 +01:00
Jonas 'Sortie' Termansen
c5ddc6923a
Added ENOSYS.
2012-01-14 16:09:30 +01:00
Jonas 'Sortie' Termansen
fecaf6b43f
System calls in libmaxsi now use the constants from syscallnum.h.
2011-12-09 12:41:06 +01:00
Jonas 'Sortie' Termansen
6562da4092
waitpid(2) now returns ECHILD on error.
2011-12-01 14:54:19 +01:00
Jonas 'Sortie' Termansen
c0c20860ed
Lots of improvements to 64-bit Sortix.
...
Fixed 64-bit-ness bug in BSR() and BSF().
Added 64-bit system call stubs in libmaxsi.
Added a Elf64 program loader.
Fixed uninitialized memory bug in the scheduler.
x64/boot.s now takes care of user-space memory permissions.
Fixed bug in x64/syscall.s
That's right. The system now boots in 64-bit mode.
It is horribly unstable, though.
2011-12-01 10:45:44 +01:00
Jonas 'Sortie' Termansen
bd1b1fe3bc
Added isatty(2), which is used by editor.
2011-11-26 21:00:40 +01:00
Jonas 'Sortie' Termansen
2b032b0414
Initial signal support. Please squash improvements into this commit.
2011-11-23 00:19:09 +01:00
Jonas 'Sortie' Termansen
e234e0a2d4
execve(2) now sets errno=EACCESS on non-buffer files.
2011-11-22 18:21:01 +01:00
Jonas 'Sortie' Termansen
9deb183786
The ELF loader now uses errno.
2011-11-22 18:06:40 +01:00
Jonas 'Sortie' Termansen
9f35df813e
Implemented errno(3), added support in both kernel and utils.
2011-11-22 17:26:47 +01:00
Jonas 'Sortie' Termansen
9b79673dcb
Initial version of Sortix.
2011-08-05 14:25:00 +02:00