[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] File Size



>Does anyone remember how to get the total file size?  -s just returns the
>data fork size.
>
>--
>Chris Nandor               pudge@pobox.com           http://pudge.net/
[stuff deleted]

I don't know that there is a short cut flag :-( the only way I know
is:

	$has = FSpGetCatInfo($fil);
	$total += $has->{ioFlLgLen} + $has->{ioFlRLgLen};

Tom.

Tom Kimpton
--
Mrs. Bun: Have you got anything without spam?
Waitress: Well, there's spam egg sausage and spam, that's not got
much spam in it.
Mrs. Bun: I don't want any spam!



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch