posix: add initial userland time api