Skip to content
March 16, 2015 / doganay

2 GB FILE LIMIT

fopen and fwrite functions as 32-bit as default in C.
When compiling these C codes it must be compiled as 64-bit and
the file variable must be defined as large file in c-code if larger files are used.

or

in c code use:

#define _FILE_OFFSET_BITS 64

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: