3 ms·
You don't need setenv. It's just a particularly broken way of assigning to a global char*.
by ori_b 1y ago
You don't need setenv. It's just a particularly broken way of assigning to a global char*.
- monocasa 1y agoAnd I personally don't use it or would be likely to approve a review that uses it. But it I were implementing POSIX and had to implement it, I would almost certainly make Sun's choice thinking of it as the least evil given the expected use cases.