Welcome, Guest. Please
login
or
register
.
Forums
Forums
Board
Topic
Home
Today's Posts
Gallery
Login
Register
Amiga.org
»
Operating System Specific Discussions
»
Amiga OS
»
Amiga OS -- Development
»
The size of a file
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: The size of a file (Read 2135 times)
Description:
0 Members and 1 Guest are viewing this topic.
Fats
Hero Member
Join Date: Mar 2002
Posts: 672
Re: The size of a file
«
on:
May 03, 2005, 07:59:57 PM »
You can do it in ANSI-C on an open file like this:
fseek(f, 0, SEEK_END);
size = ftell(f);
the conversion to Amiga function calls I leave as an exercise :-)
greets,
Staf.
Logged
Trust me... I know what I\'m doing
Print
Pages: [
1
]
Go Up
« previous
next »
Amiga.org
»
Operating System Specific Discussions
»
Amiga OS
»
Amiga OS -- Development
»
The size of a file
There was an error while thanking
Thanking...