Hacker News new | ask | show | jobs
by NateDad 4360 days ago
Getenv returns an empty string just like unset env variables act like an empty string on the command line. If it returned an error, people would complain it works differently than they're used to. You can't please everyone.