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

On Solaris/Illumos `putenv()` and `getenv()` are lock-less and really fast.

Basically, if you `putenv()`, you commit to never freeing that memory.




Ay, yes. Though it could be made lock-less.




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

Search: