mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +01:00
- Directory creation, file read/write is OK. - Cannot reuse old task's fds. They are not recycled for some reason. - Problems with fork/clone/exit. They fail for a reason.
81 lines
654 B
Plaintext
81 lines
654 B
Plaintext
|
|
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
|
|
munmap
|
|
read
|
|
readdir
|
|
write
|
|
lseek
|
|
open
|
|
close
|
|
creat
|
|
mkdir
|
|
mknod
|
|
fork
|
|
clone
|
|
execve
|
|
exit
|
|
getpid
|
|
|
|
|
|
Functions to be supported in the near future are:
|
|
|
|
link
|
|
unlink
|
|
wait
|
|
kill
|
|
sbrk
|
|
getenv
|
|
setenv
|
|
|
|
|
|
Other calls:
|
|
pipe
|
|
mount
|
|
unmount
|
|
swapon
|
|
|
|
|
|
New ones will be added as needed.
|
|
|