0

I am able to create file upto 2G bytes in c program using

  1. ftruncate
  2. 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?

George Brighton
  • 5,131
  • 9
  • 27
  • 36
Embedded Programmer
  • 519
  • 4
  • 8
  • 22

0 Answers0