Re: System Call

Rik van Riel (riel@nl.linux.org)
Sun, 16 May 1999 17:15:15 +0200 (CEST)


On 15 May 1999, Livia Catarina Soares wrote:

> I am here again :-) ...
> at this time to ask about system call .
>
> Question: Is there some constraint to a system call return an
> unsigned long value ??

Error codes are returned as _negative_ numbers (-EPERM
and the likes). This almost means you have to return
something signed...

Rik -- Open Source: you deserve to be in control of your data.
+-------------------------------------------------------------------+
| Le Reseau netwerksystemen BV: http://www.reseau.nl/ |
| Linux Memory Management site: http://www.linux.eu.org/Linux-MM/ |
| Nederlandse Linux documentatie: http://www.nl.linux.org/ |
+-------------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/