Lab 3 - IDA
Lab 3 - IDA
Lab 3 - IDA
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Lab</strong> 4: Additional System Calls<br />
• void seek (int fd, unsigned position)<br />
– Sets the current seek position of fd<br />
• unsigned tell (int fd)<br />
– Get the seek position of fd.<br />
• int filesize (int fd)<br />
– Returns the file size of the open file fd.<br />
• bool remove (const char *file_name)<br />
– Removes the file file_name.<br />
– Open files are not deleted from the file system before they are<br />
closed.<br />
37