Large file support

Solaris has supported files of greater than 2GB since version 2.6. A description of this can be found here.

A 64-bit application will have file pointers that are 64-bit in size, so will not have this limitation. A 32-bit application will see this limitation, but can be compiled with the compiler flags -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE which will allow it to use the 64-bit file pointer API.

Comments:

Post a Comment:
Comments are closed for this entry.
About

Darryl Gove is a senior engineer in the Solaris Studio team, working on optimising applications and benchmarks for current and future processors. He is also the author of the books:
Multicore Application Programming
Solaris Application Programming
The Developer's Edge

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
5
6
8
9
10
12
13
14
15
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks
The Developer's Edge
Solaris Application Programming
Publications
Webcasts
Presentations
OpenSPARC Book
Multicore Application Programming
Docs