Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
barrkel
on July 18, 2014
|
parent
|
context
|
favorite
| on:
Anatomy of a system call, part 1
Using the high bit to indicate an error result isn't unknown on other OSes either - see NTSTATUS on Windows, and HRESULT in COM.
lelf
on July 18, 2014
[–]
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: