Hi , i have a text file in IFS which have some data. Now after reading i want to replace all occurance of xyz with abc and update the ifs file .Everything is working fine except updation . The problem is with pointer setting , everytime the data is appended in file rather than replacing ..I am using _C_IFS_fopen,_C_IFS_fgets,_C_IFS_fputs apis.
Please suugest how can i set the pointer to write date to exact position replacing the old one ...
September 10, 2011 3:41 PM
March 31, 2012 4:50 PM