🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #26796

how to get file size (in bytes) ???

#26796
From: Glenn Reid
Date: Mon, 28 Mar 1988 05:44
15 lines
857 bytes
What is the appropriate incantation to determine the size of a file?
I have been digging through the File Manager documentation and such,
and all I can come up with is something like this, which doesn't seem
to work:

	FSOpen ( filename, refnum );
	GetEOF ( refnum, &longsize );

I don't see anything else that seems reasonable.  Any hints?

Please reply by mail; thanks a lot for any help.

Glenn Reid
Adobe Systems
..{sun,decwrl}!adobe!greid
Technical Details
Message-ID: <3774@adobe.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!adobe!ondine!greid

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!adobe!ondine!greid
From: greid@ondine (Glenn Reid)
Newsgroups: comp.sys.mac
Subject: how to get file size (in bytes) ???
Message-ID: <3774@adobe.COM>
Date: 28 Mar 88 05:44:24 GMT
Sender: nobody@adobe.COM
Reply-To: greid@.UUCP (Glenn Reid)
Organization: Adobe Systems Incorporated, Mountain View
Lines: 15
Keywords: Lightspeed C