Re: newbie question [C language]
- From: Randy Howard <randyhoward@xxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Jun 2005 14:20:37 GMT
On Thu, 30 Jun 2005 08:08:06 -0500, osmium wrote
(in article <3ii95nFlnl7mU1@xxxxxxxxxxxxxx>):
> "Fred_NacH" writes:
>
>> I was wondering, how to retrieve the size/length of a file by only using
>> the ansi functions...
>
> This one often causes a lot of controversy, some people say there is a
> (usually unnamed) system on which it won't work or at least there *could
> have been* a system on which it wouldn't work if such a system had been
> built.
>
> Open the file in *binary* mode, seek to end of file, and use ftell() to see
> where you are. If you like acrimony and pedantry, look around on Usenet for
> these discussions which flare up from time to time.
I wonder if you have ever tried it on fat binaries under OS X.
I suspect not.
--
Randy Howard (2reply remove FOOBAR)
.
- References:
- newbie question [C language]
- From: Fred_NacH
- newbie question [C language]
- Prev by Date: Re: newbie question [C language]
- Next by Date: Re: newbie question [C language]
- Previous by thread: Re: newbie question [C language]
- Next by thread: Re: newbie question [C language]
- Index(es):
Relevant Pages
|