I am able to create file upto 2G bytes in c program using
- ftruncate
- fprintf writing upto 2G
When I try to create file large than 2G using fprintf, I get a file too large error on checking ferror and perror.
Question: How can create file larger than 2G?