And before we forget about it - in addition to not using the right system call we also print the wrong errno (which was causing much of the confusion).
Martin
And before we forget about it - in addition to not using the right system call we also print the wrong errno (which was causing much of the confusion).
Martin