Description: The program is run under linux, first of all to create a document, and then read and write operations on this file. Then, write " Hello, I' m writing to this file!" , At this time a document file pointer is located in the rear. Lseek function and then use the file pointer to the beginning of a document, and read out 10 bytes and print them out.
File list (Check if you may need any files):
write.c