stat() fails for large file (2GB)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alona

    #1

    stat() fails for large file (2GB)

    Hi All,

    stat fails on a 2GB file with errno=EOVERFLOW .
    Is there a way to run stat() on a large file?

    Thanks,
    Alona
  • CBFalconer

    #2
    Re: stat() fails for large file (2GB)

    Alona wrote:
    >
    stat fails on a 2GB file with errno=EOVERFLOW .
    Is there a way to run stat() on a large file?
    STAT is a CP/M system program. The system doesn't handle 2GB files.

    --
    [mail]: Chuck F (cbfalconer at maineline dot net)
    [page]: <http://cbfalconer.home .att.net>
    Try the download section.



    --
    Posted via a free Usenet account from http://www.teranews.com

    Comment

    • Ian Collins

      #3
      Re: stat() fails for large file (2GB)

      CBFalconer wrote:
      Alona wrote:
      >stat fails on a 2GB file with errno=EOVERFLOW .
      >Is there a way to run stat() on a large file?
      >
      STAT is a CP/M system program. The system doesn't handle 2GB files.
      >
      Which is probably why the OP is using a system with a function named
      stat. In case you hadn't noticed, C is case sensitive.

      --
      Ian Collins.

      Comment

      Working...