Re: [fpc-pascal] fpGetRUsage

2005-09-12 Thread Marco van de Voort
> RUsage is not declared anywhere in app o.0 > RUsage is defined in ostypes.inc for BSD. fpGetRUsage is as well, but > does not resolve in Darwin. fpgetrusage is used in the implementation. It is not (yet) exported. ___ fpc-pascal maillist - fpc-pasca

Re: [fpc-pascal] fpGetRUsage

2005-09-12 Thread Paul Davidson
RUsage is not declared anywhere in app o.0 RUsage is defined in ostypes.inc for BSD. fpGetRUsage is as well, but does not resolve in Darwin. On Sep 8, 2005, at 3:39, Jonas Maebe wrote: On 7 sep 2005, at 20:21, Paul Davidson wrote: Trying to get fpGetRusage to work WITH DARWIN. Using:

Re: [fpc-pascal] fpGetRUsage

2005-09-08 Thread Jonas Maebe
On 7 sep 2005, at 20:21, 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? fu

Re: [fpc-pascal] fpGetRUsage

2005-09-08 Thread Paul Davidson
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

Re: [fpc-pascal] fpGetRUsage

2005-09-07 Thread Jonas Maebe
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