sortix-mirror/libmaxsi/include
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
..
libmaxsi Refactored all the sortix headers into a include directory. 2012-03-22 00:52:29 +01:00
sys Made <sys/types.h> more POSIX compliant. 2012-03-12 02:00:00 +01:00
assert.h Uncommented warning in <assert.h> to prevent compile errors in binutils. 2012-03-05 13:09:00 +01:00
ctype.h Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
dirent.h <dirent.h> now declares size_t. 2012-03-12 02:03:46 +01:00
errno.h Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
error.h Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
fcntl.h Added fcntl(3) with FD_GET and FD_SET. 2012-03-04 21:36:40 +01:00
features.h Added getline(3), getdelim(3), sortix_gets(3) and gets(3). 2012-02-13 01:07:02 +01:00
inttypes.h Added {,l,ll,imax}abs(3). 2012-03-27 16:36:55 +02:00
math.h Added <math.h>. 2012-03-04 18:17:04 +01:00
setjmp.h Added stubs for setjmp(3) and longjmp(3). 2012-03-04 23:15:32 +01:00
signal.h Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
stdarg.h Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
stddef.h Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
stdint.h Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
stdio.h Added fseterr(3). 2012-03-12 01:31:48 +01:00
stdio_ext.h Added the stdio_ext(3) API. 2012-03-12 00:38:48 +01:00
stdlib.h Implemented setenv(3), putenv(3), getenv(3), clearenv(3), sortix_getenv(3), 2012-04-03 20:23:28 +02:00
string.h Added strnlen(3). 2012-03-10 23:04:49 +01:00
strings.h Added strcasecmp(3), strncasecmp(3) and <strings.h>. 2012-03-04 22:46:24 +01:00
time.h Added time_t declaration to <time.h>. 2012-03-11 20:38:55 +01:00
unistd.h Added sforkr(2) that controls the child registers as well. 2012-04-05 23:00:47 +02:00
wchar.h Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00
wctype.h Refactored the libmaxsi/ directory. 2012-02-12 13:20:53 +01:00