Welcome, Guest. Please login or register.

Author Topic: The size of a file  (Read 2128 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: The size of a file
« on: May 03, 2005, 07:59:48 PM »
dos.library/Examine
dos.library/ExamineFH

Occasionally also code using dos.library/Seek can be seen, but this method is really really slow with FFS and large files, and should be avoided.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: The size of a file
« Reply #1 on: May 03, 2005, 08:03:05 PM »
@Fats

...which is really slow with FFS and large files. Should be avoided.

If you don't need ANSI-C, use fstat (or stat). Even SAS/C linklibs have it.