Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's global state for a local condition.

Linus Torvalds on errno: https://yarchive.net/comp/linux/errno.html



> ... Linus Torvalds on errno: https://yarchive.net/comp/linux/errno.html

yes, he argues against its usage in the KERNEL.


But his argument stands even outside the kernel. Errno is awful, similar to locale APIs.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: