what do lseek and offset do : <p>Can someone explain me what does this program do? I can't understand. I created a file named "FILE" and I wrote a five-letter word on it. Now, what does this program do? I don't understand what the offset is... Please explain me, I know it's easy concepts but I can't seem to understand it... Thanks.</p>

<pre><code>#include &lt;sys/types.h&gt;
#include &lt;fcntl.h&gt;
#include &lt;sys/stat.h&gt;
#include &lt;unistd.h&gt;
int main(void)
{
 int fd,i;
 fd=open("FILE",O_RDONLY);
 i=lseek(fd,50,SEEK_CUR);
 exit(0);
}
</code></pre>
