OS system call client API for use in web workers