Previously Juergen Weigert wrote:
> I suspect that something odd is going on here.
> What if pclose() is required and we fclose() the thing?
> Ronald was talking about piped situations...
pclose() is used if you open the pipe yourself, which isn't being done
here (in particular pclose() waits for the child process to terminate
so we don't leave and zombies and we can get the exit status of the
In this case xxd doesn't create the pipe itself and should indeed
check if it was able to write its output by either checking the
return value for each printf() (bothersome) or check the result
/ Generally uninteresting signature - ignore at your convenience \
| wichert@... http://www.liacs.nl/~wichert/
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |