in reply to write to file in append mode
You have to use operator ">>" while opening. If you want to open in R+W mode you just put the "+" operator infront as "+>> $fileName". You better go through the help pages of "open" function.
You also take a look at the "seek" function, that will help you to handle the file pointers effectively.
|
|---|