autoconf-patches
[Top][All Lists]
Advanced

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

Re: gettimeofday macro (was Re: A macro to check for data type alignment


From: Kevin Ryde
Subject: Re: gettimeofday macro (was Re: A macro to check for data type alignment)
Date: Fri, 15 Feb 2002 06:52:37 +1000
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu)

Peter Eisentraut <address@hidden> writes:
>
> * On old BSD systems, gettimeofday(a, b) returned the time in a and the
> time zone in b.

Is NULL permitted for the timezone, if you don't want that?

> * On old SVr4 systems, gettimeofday(a) returned the time.  (You get the
> time zone some other way.)
>
> * On most modern systems (including, e.g., glibc/Linux and FreeBSD), the
> prototype is gettimeofday(a, b), but b is simply ignored.

Those notes might be good for the Function Portability section of the
manual.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]