由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - Help!!! Open a large file in UNIX
相关主题
UNIX文件系统一问Re: unix下怎么把一个大文件分成若干个小文件?
How to specify open method in UNIX?怎样写 makefile
change read-only system to read/write? online waiting一个计算机学术网站
How to redirect error messages to a file?Re: 菜鸟问题:UNIX下怎么改文件的日期?
Help please: 2GB limit on file sizecoconut 申请 unix BZ
how can i program to insert a line into a file请问在UNIX中该如何设screensaver
Re: 为什么emacs自动给我加^M.Unix下怎么解加密的.zip文件?
Re: Where to download MP3 player for UNIX?UNIX下编程求助
相关话题的讨论汇总
话题: unix话题: open话题: file话题: large话题: fopen
进入Unix版参与讨论
1 (共1页)
a********c
发帖数: 3
1
I got a binary file of size 3GB in UNIX. I have to read data out of this file.
fopen function failed to open it with following error:
"Value too large for defined data type"
Is there any function iin UNIX can get this done? Thanks.
m*****e
发帖数: 4193
2
man open/fopen. Maybe you should specify O_LARGEFILE in the flag.

【在 a********c 的大作中提到】
: I got a binary file of size 3GB in UNIX. I have to read data out of this file.
: fopen function failed to open it with following error:
: "Value too large for defined data type"
: Is there any function iin UNIX can get this done? Thanks.

1 (共1页)
进入Unix版参与讨论
相关主题
UNIX下编程求助Help please: 2GB limit on file size
Help -- How to display the list of available printershow can i program to insert a line into a file
[公告] Unix 板的投票结果Re: 为什么emacs自动给我加^M.
切磋切磋, 高手们都是怎么学的UNIX?Re: Where to download MP3 player for UNIX?
UNIX文件系统一问Re: unix下怎么把一个大文件分成若干个小文件?
How to specify open method in UNIX?怎样写 makefile
change read-only system to read/write? online waiting一个计算机学术网站
How to redirect error messages to a file?Re: 菜鸟问题:UNIX下怎么改文件的日期?
相关话题的讨论汇总
话题: unix话题: open话题: file话题: large话题: fopen