Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For POSIX, you can use the standard library:

std.os.chmod

std.os.fcntl

Better yet, use the higher level cross platform abstractions. For example instead of fork/join,

std.Thread.create

std.Thread.wait

These will work in Windows as well as POSIX.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: