P
pal
Hi,
How to use the open() ( mean syntax ) to open a file and to append the
data every time at the end of the file.
My Problem is,
I created a file and written some data into it, and second time i
opened the file with the open() like
fd = open ("\dir\file.dat",O_WRONLY,0); and written some data into
this file.
But always I am not able to append the data to the file.instead it is
overwriting the file.
Is there any way to solve this problem .
Thanks.
How to use the open() ( mean syntax ) to open a file and to append the
data every time at the end of the file.
My Problem is,
I created a file and written some data into it, and second time i
opened the file with the open() like
fd = open ("\dir\file.dat",O_WRONLY,0); and written some data into
this file.
But always I am not able to append the data to the file.instead it is
overwriting the file.
Is there any way to solve this problem .
Thanks.