Jonas 'Sortie' Termansen
2c286d6830
Replace <libmaxsi/format.h> with <stdio.h>.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
5d082b3bbb
Replace Maxsi::Error:: with <errno.h>.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
3095503b9b
Correct usage of deprecated nat and byte data types.
2012-12-14 14:13:33 +01:00
Jonas 'Sortie' Termansen
af015491db
sortix/io.cpp is now ready for new system call semantics.
2012-08-04 18:35:23 +02:00
Jonas 'Sortie' Termansen
36ff6c7f96
seek(2) now correctly rejects a bad whence value.
2012-04-10 13:20:33 +02:00
Jonas 'Sortie' Termansen
c62eb09cdc
Added stubs for pread(2) and pwrite(2).
...
These are not implemented yet because the current kernel design is bad.
However, I need the stubs for other code.
2012-03-24 15:23:07 +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
7ebed6dd6a
sortix/io.cpp now uses <sortix/seek.h>.
2012-02-24 22:02:01 +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
ecc3114f2a
Refactored the system to use the new Terminal interface.
...
This will allow development of a better terminal providing stdin.
Added new system calls settermmode(2) and gettermmode(2) declared in
<sys/termmode.h>. They allow querying and changing the current mode of
terminals (enabling raw keyboard data, signal handling, line buffering,
UTF-8 encoding stdin, and more). However, all that is unsupported by the
current terminal device driver.
Added KBKEY_ENCODE and KBKEY_DECODE macros to <sys/keycodes.h> which allows
encoding the kbkey format in UTF-32 characters.
2012-01-22 16:48:57 +01:00
Jonas 'Sortie' Termansen
648b324385
Added lseek(2).
2011-12-26 23:12:12 +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
9f35df813e
Implemented errno(3), added support in both kernel and utils.
2011-11-22 17:26:47 +01:00
Jonas 'Sortie' Termansen
708643d0f2
Fixed bug in dup(2).
2011-11-17 23:03:14 +01:00
Jonas 'Sortie' Termansen
dd349a150a
Merge branch 'master' of gitorious.org:sortix/sortix
...
Conflicts:
libmaxsi/c/hsrc/unistd.h
libmaxsi/io.cpp
sortix/io.cpp
sortix/syscallnum.h
2011-11-17 22:28:20 +01:00
Jonas 'Sortie' Termansen
05196f49b2
Added dup(2).
2011-11-17 20:34:04 +01:00
Jonas 'Sortie' Termansen
e8cd27c353
Added close(2) and fixed bugs in pipe(2) and others.
2011-11-17 10:22:43 +01:00
Jonas 'Sortie' Termansen
a7de7b4905
Added pipe(2), write(2), and read(2).
2011-11-16 21:21:38 +01:00