I try to open a non-existan device driver node file. The Kernel returns aI tried this on a 2.6.0-test11 and it works fine. Pls specify your kernel version and attach the program if possible.
value of -1 (expected). However, when I read the value of errno it contains
a value of 29. A call to the perror functrion does print out the correct
error message (a value of 2). Why does this happen?