close() system call does not return error?
Hi everyone,
I have experienced this when working in an embedded system linux RTOS, MontaVista Linux 4.0. I tried to hard code the function mapped to my close file operation by returning -1 at the end of the function, but in user space, calling close does not return an error, it returns 0. Is this a probable bug in the above linux distribution?
Best regards.
|