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

Using the high bit to indicate an error result isn't unknown on other OSes either - see NTSTATUS on Windows, and HRESULT in COM.


This has nothing to do neither with high bit nor with NTSTATUS. For Linux, some values are errors, all others are normal results. lseek cannot return large value for example. At all.




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

Search: