lseek System Call Program in Linux
In this lecture on lseek system call program, you will learn how to change the position of the pointer in a file. The lseek system call is used to reposition the read/write pointer within the file. The sleek system call returns the cursor position on success. The file pointer can be positioned with respect to the start of file (SEEK_SET), end of file (SEEK_END) and the current pointer position (SEEK_CUR). Subscribe - https://www.youtube.com/c/dextutor This lecture is part of the Operating System Lab playlist: https://www.youtube.com/playlist?list=PLlr7wO747mNp5nn0hteJFnt1rpdx6GG-_ For Program code and more details visit: https://dextutor.com/lseek-system-call/ Reference Videos: 1. Linux installation: https://youtu.be/5Vb1jPbjKSE 2. System calls: https://youtu.be/DJ_GcdS-rmE 3. open system call: https://youtu.be/WxNSJAbQ8Ik Tools Required: 1. Linux environment 2. Basic knowledge of C Language 3. gcc compiler installed Reference Links: Operating System Theory PPTs Link: https://dextutor.com/courses/operating-systems/ Operating System Programs: https://dextutor.com/courses/operating-system-programs/ Other Playlists: OS: https://www.youtube.com/playlist?list=PLlr7wO747mNojSVwJR1oYVs3Sq6iVziIk Linux Essential: https://www.youtube.com/playlist?list=PLlr7wO747mNqhqzZoiGhgBVsboYxTW4XQ RHCSA: https://www.youtube.com/playlist?list=PLlr7wO747mNrUoTuXhZ0REJw3hL4oWvLm Was this tutorial about the lseek system call program in Linux helpful? If so, please share. Let me know your thoughts in the comments. #linux #oslab #os # sleek #dextutor
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.