Files
codezero/tasks/libposix
Bahadir Balban af03975dc1 Towards adding sys_clone()
Stopped working on self_spawn() - going to finish clone() syscall first.
Arch-specific clone() library call that does ipc() and cloned child setup.
- Need to finish thread_create() that satisfy clone() necessities. i.e. setting up its stack.
  Question: Does the pager (and thus the microkernel) have to explicitly set SP_USR?
  Once the call is known to be successful, the library could set it.
2008-09-11 16:56:41 +03:00
..
2008-01-13 13:53:52 +00:00
2008-04-16 16:00:17 +01:00
2008-05-23 03:59:18 +00:00
2008-09-11 16:56:41 +03:00
2008-04-20 02:12:53 +01:00
2008-09-06 11:15:41 +03:00
2008-04-20 02:12:53 +01:00

libposix

Copyright (C) 2007 Bahadir Balban

Despite the name, this is a library that supports only a small portion of posix functions.


Highest priority POSIX functions are:

shmat
shmget
shmdt
mmap
munmap
sbrk
read
readdir
write
lseek
open
close
creat
mkdir
mknod
link
unlink
fork
clone
execve
getpid
wait
kill
getenv
setenv


Currently supported functions are:

shmat
shmget
shmdt
mmap
read
readdir
write
lseek
open
close
creat
mkdir
mknod
fork


Functions to be supported in the near future are:

munmap
link
unlink
getpid
execve
clone
wait
kill
exit
sbrk
getenv
setenv


Other calls:
pipe
mount
unmount
swapon


New ones will be added as needed.