my program creates a file then copies a file into the file created then i can copy another file into the file created turning it into one bog file i am having troubles when coming to extracting the exact file, can anyone suggest anything on how about to achieving this.?
new = lseek ( descriptor, offsetBy, from)
int new;
the new value of the current position in the file
int descriptor;
the descriptor as returned when the file was opened;
int offsetBy;
the amount (positive or negative) by which the position is to be adjusted
int from;
where the adjustment is to be calculated from - one of the constants
SEEK_SET from start of file
SEEK_CUR from current position
SEEK_END from end of file