Hacker News new | past | comments | ask | show | jobs | submit login

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.






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

Search: