Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
davidt84
on Jan 25, 2025
|
parent
|
context
|
favorite
| on:
C stdlib isn't threadsafe and even safe Rust didn'...
Nevertheless,
https://en.cppreference.com/w/cpp/utility/program/getenv
kazinator
on Jan 25, 2025
[–]
Interesting. So in a multi-threaded C++ program that only calls the std:: getenv function, everything is fine.
If anything calls the C getenv function, like a third party library, things are maybe not fine.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: