Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SAI_Peregrinus
on Nov 20, 2023
|
parent
|
context
|
favorite
| on:
Setenv Is Not Thread Safe and C Doesn't Want to Fi...
Make getenv copy to an OS-provided buffer. Free at program exit, like any other memory leak. There's an obvious drawback, but it's not changing the function signature.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: