Just a basic PIPE:
The code then goes on the parse whats in the temp array, looking for the string "OK", so the program knows its ok. But of course the temp array is empty as the output from gzip isn't sent to STDOUT as you've said.
sprintf(temp, "gzip -vt %s", backupfilename);
if(pi != NULL)
while(c != '\xff')
So how can I get the output from gzip into my temp array?
By the way many many thanks for your assistance, really is appreciated!!!