arthurmco / rainos

A hobby operating system, designed for old computers
4 stars 2 forks source link

Write better error codes #1

Open arthurmco opened 8 years ago

arthurmco commented 8 years ago

Currently we have only 0 (or -1 in some functions) to identify an error. After the function exit, we have no ways to discover what was the error.

Therefore we need to write more error code, and standard error codes (since we'll gonna replicate them in usermode).

POSIX systems compatibility (specially Linux) is desired.