I've noticed that not only the return values, but the function prototypes also are not synced with reality (in the man pages). I submitted a second patch that hopefully addresses all issues. Please review. Regards, Stathis