News for hackers. Stuff that matters.
Re:Getaddrinfo() on glibc calls getenv(), oh boy by cryptonector on Tuesday October 17, 2023 @02:21AM (#37911285)
On Solaris/Illumos `putenv()` and `getenv()` are lock-less and really fast.

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

Re:Getaddrinfo() on glibc calls getenv(), oh boy by xy2_ on Tuesday October 17, 2023 @04:08AM (#37911918)
Re:Getaddrinfo() on glibc calls getenv(), oh boy by cryptonector on Tuesday October 17, 2023 @11:31AM (#37916722)
Ay, yes. Though it could be made lock-less.