mirror of
https://github.com/drasko/codezero.git
synced 2026-01-15 04:13:16 +01:00
Issues: - MM0 needs separate subset of libc and not link with libposix - FS0 needs separate subset of libc and not link with libposix - libposix need transforming into a full-blown uclibc for test0 - libc really is a pseudo-libc that needs to be replaced as above. - Done some hacking to avoid conflicts between pseudo-libc and libposix headers. Now system working as original, (e.g. execve etc. working)
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.