When developing a module (device driver, middleware, etc...) that will run in the kernel space, we would like to have some way to capture the reason an operation might fail.
In VxWorks, The errno mechanism seems to be a good way to do this.
Is it possible to define my own errno values?