Hi All,
How can I truncate a file
opened by fopen() ?
If I want to extend my file or
truncate my file I have to use ftruncate, but ftruncate takes int (file
descriptor) is there any function which takes FILE * ?
Thanks in advance
Best Regards,
Harsha Kodnad
Senior Software Engineer Tally Solutions Pvt. Ltd. Bangalore |