Improper error code for Process file descriptor functions