forked winapi and linux api from kraken