Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find and Replace in huge text file
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01053411
Message ID:
01053509
Views:
28
yes you are right, so get back to the first question how could I know number of bytes read by FGETS?

>>I tried FREAD instead of FGETS and it looks like it works fine, I tried to read 8192 bytes with FREAD then write them with FWRITE without any modifications and I got same file size.
>
>With FREAD some occurences may be split between two sequential reads in which case they will not be replaced.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform