Advanced Programming in the UNIX® Environment

(lily) #1
ptg10805159

Chapter 3 Exercises 91


3.6 If youopenafile for read–write with the append flag, can you stillreadfrom anywherein
the file usinglseek?Can you uselseekto replace existing data in the file? Write a
program to verify this.
Free download pdf