[fpc-pascal] fpGetRUsage

Paul Davidson pdavidson at coraxnetworks.com
Wed Sep 7 20:21:50 CEST 2005


On Sep 7, 2005, at 13:45, Jonas Maebe wrote:

>
> On 31 Aug 2005, at 15:52, Paul Davidson wrote:
>
>> Trying to get fpGetRusage to work WITH DARWIN.
>>
>> Using:     function fpGetRUsage( who : cint; data : pRUsage ) : cint; 
>> cdecl; external 'c' name 'getrusage';
>>
>> But this gives silly results.  Any hints?
>
> How did you declare prusage/trusage?
>
>
> Jonas
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
	function fpGetRUsage( who : cint; data : pRUsage ) : cint; cdecl; 
external 'some_random_string' name 'getrusage';

P Davidson
http://CoraxNetworks.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 920 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20050907/53a58651/attachment.bin>


More information about the fpc-pascal mailing list