[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Compiling lposix.c (patch)
- From: Sam Roberts <sroberts@...>
- Date: Fri, 6 Oct 2006 11:18:37 -0700
On Fri, Oct 06, 2006 at 08:52:43AM +0100, David Jones wrote:
> and it compiles just fine. On OS X 10.4 CLK_TCK doesn't work with or
> without -pedantic btw. And sysconf works with or without it
> (slightly to my surprise).
On OS X 10.3 with gcc-3.3 CLK_TCK is defined, and has the same value as
sysconf(_SC_CLK_TCK).
Hard to understand why 10.4 would remove classic BSD APIs, however the
resource usage information from times() is also available from
getrusage().
Cheers,
Sam
- References:
- Re: Compiling lposix.c (patch), David Haley
- Re: Compiling lposix.c (patch), Sam Roberts
- Re: Compiling lposix.c (patch), Glenn Maynard
- Re: Compiling lposix.c (patch), Sam Roberts
- Re: Compiling lposix.c (patch), Glenn Maynard
- Re: Compiling lposix.c (patch), David Jones
- Re: Compiling lposix.c (patch), Sam Roberts
- Re: Compiling lposix.c (patch), David Jones
- Re: Compiling lposix.c (patch), Sam Roberts
- Re: Compiling lposix.c (patch), David Jones