sortix-mirror/libmaxsi
Jonas 'Sortie' Termansen 6367a2352e Added sforkr(2) that controls the child registers as well.
sfork(2) now calls sforkr(2) with the current registers.

This will prove useful in creating threads, where user-space now can fully
control what state the child will start in. This is unlike the Linux clone
system call that accepts a pointer to the child stack; this is more powerful
and somehow simpler. Note that this will create a rather raw thread; no
thread initization has been done by the standard thread API (when it is
implemented), so this feature shouldn't be used by programmers unless they
know what they are doing.

fork(2) now calls sfork(2) directly. Also removed fork(2) and sfork(2) from
the kernel as they are done using sforkr(2) now. So technically they aren't
system calls right now, but that could always change.
2012-04-05 23:00:47 +02:00
..
decl Added EBOUND. 2012-04-02 20:24:56 +02:00
include Added sforkr(2) that controls the child registers as well. 2012-04-05 23:00:47 +02:00
x64 Added sforkr(2) that controls the child registers as well. 2012-04-05 23:00:47 +02:00
x86 Added sforkr(2) that controls the child registers as well. 2012-04-05 23:00:47 +02:00
.gitignore Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
Makefile Added sforkr(2) that controls the child registers as well. 2012-04-05 23:00:47 +02:00
abs.cpp Added {,l,ll,imax}abs(3). 2012-03-27 16:36:55 +02:00
c++.cpp Refactored all the sortix headers into a include directory. 2012-03-22 00:52:29 +01:00
ctype.c Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
dir.c Refactored all the sortix headers into a include directory. 2012-03-22 00:52:29 +01:00
env.cpp Implemented setenv(3), putenv(3), getenv(3), clearenv(3), sortix_getenv(3), 2012-04-03 20:23:28 +02:00
error.cpp Added EBOUND. 2012-04-02 20:24:56 +02:00
fddir-sortix.c Fixed minor compile errors in fddir-sortix.c. 2012-02-12 13:20:53 +01:00
fdio.c Added fseterr(3). 2012-03-12 01:31:48 +01:00
fdio.h Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
file.c Added fseterr(3). 2012-03-12 01:31:48 +01:00
format.cpp Refactored all the sortix headers into a include directory. 2012-03-22 00:52:29 +01:00
heap.cpp Refactored all the sortix headers into a include directory. 2012-03-22 00:52:29 +01:00
init.cpp Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
integer.cpp Added atol(3) and atoll(3). 2012-03-05 12:53:58 +01:00
io.cpp Added {,p}{read,write}{all,least}(3). 2012-03-24 15:34:30 +01:00
ioleast.cpp Added {,p}{read,write}{all,least}(3). 2012-03-24 15:34:30 +01:00
kernelinfo.cpp Added kernelinfo(2), which reads a kernel information string. 2012-03-07 18:04:59 +01:00
memory.cpp Refactored all the sortix headers into a include directory. 2012-03-22 00:52:29 +01:00
process.cpp Added sforkr(2) that controls the child registers as well. 2012-04-05 23:00:47 +02:00
random.cpp Refactored all the sortix headers into a include directory. 2012-03-22 00:52:29 +01:00
setjmp.c Added stubs for setjmp(3) and longjmp(3). 2012-03-04 23:15:32 +01:00
signal.cpp Refactored all the sortix headers into a include directory. 2012-03-22 00:52:29 +01:00
sort.cpp Added qsort(3). 2012-03-05 12:37:59 +01:00
sortix-sound.cpp Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
stdio.c Made getdelim(3) follow POSIX-2008 a bit more closely. 2012-03-07 15:52:07 +01:00
string.cpp Refactored all the sortix headers into a include directory. 2012-03-22 00:52:29 +01:00
terminal.cpp Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
thread.cpp Refactored all the sortix headers into a include directory. 2012-03-22 00:52:29 +01:00
time.cpp Added stub for ctime(3). 2012-03-04 23:51:39 +01:00