Question: parallel tar Exctractor c++ program to read tar file and extract files from it. the program will fork of a copy of itself to hand
parallel tar Exctractor c++ program to read tar file and extract files from it. the program will fork of a copy of itself to hand each file in archive.
We will limit the archive to hold only normal files (no links or special files). The format for the header of a tar file is described as: The header record for an old-style tar archive consists of the following: struct header_old_tar { char name[100]; char mode[8]; char uid[8]; char gid[8]; char size[12]; char mtime[12]; char checksum[8]; char linkflag[1]; char linkname[100]; char pad[255]; }; All unused bytes in the header record are filled with nulls.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
