[Top][All Lists]

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

Re: [bug-gnulib] Re: gettimeofday() for Win32

From: Paul Eggert
Subject: Re: [bug-gnulib] Re: gettimeofday() for Win32
Date: Tue, 23 May 2006 09:45:16 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Bruno Haible <address@hidden> writes:

>> +  AC_CACHE_CHECK([for gettimeofday whose signature conforms to POSIX],
> What's the point of checking the signature? The only signatures of
> gettimeofday() I've seen are:
>     int gettimeofday (struct timeval * tp, ...);
>     int gettimeofday (struct timeval * tp, struct timezone *tzp);
>     int gettimeofday (struct timeval * tp, void *tzp);
> and they are all OK with the usual way to call it.

That rings an old bell.  Some old SVR4 systems put a one-argument
gettimeofday prototype into their <sys/time.h>.  Also, Solaris 2.4 has
a one-argument prototype for C++ only.  See my old Usenet post on the
subject here:


reply via email to

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