Re: gettimeofday problem

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Tue Jun 25 2002 - 06:45:35 EST


On Tue, 25 Jun 2002, Brad Hards wrote:

> On Tue, 25 Jun 2002 10:37, Christian Robert wrote:
> > gettimeofday (&tv, NULL);
> How about checking the return value of the function call?
>
> Brad
> --
> http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.

I think the only possible error returned would relate to the time-zone
being invalid. The time-zone pointer being a NULL is valid so it isn't
going to return EINVAL.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).

                 Windows-2000/Professional isn't.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:09 EST