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

Well, it could be for example that /proc is not mounted. A lot of software breaks for this, while really there is no need for it to be so. Also that approach only works on Linux, if you want to write a portable software what you do?


I am mainly pointing out that arg[0] is still valid. Writing portable software is an entirely different topic.




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

Search: