commented out posix code
make it compile on msba2