Hi Martin, > I forgot to add one more thing: making the return value checks more > pedantic would also be nice. I guess you mean if (rval == -1). Sure, I'll do that. Kind regards, Petr