Where the lseek call makes a seek to byte


 A file whose file descriptor is fd contains the following sequence of bytes: 2, 7, 1, 8, 2, 8, 1, 8, 2, 8, 4. The following system calls 

are made:

lseek( fd, 3, SEEK_SET );
fread( fd, &buffer, 4 );
where the lseek call makes a seek to byte 3 of the file. What does buffer contain after the read has completed? What does this sequence represent? 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Where the lseek call makes a seek to byte
Reference No:- TGS0111507

Expected delivery within 24 Hours