Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 1996 21:09:11 -0600
From:      Sean Kelly <kelly@fsl.noaa.gov>
To:        Gary Kline <kline@tera.com>
Cc:        FreeBSD Questions Mailgroup <freebsd-questions@freebsd.org>
Subject:   Re: interpretation?
Message-ID:  <326451D7.41C67EA6@fsl.noaa.gov>
References:  <199610160045.RAA19446@athena.tera.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Kline wrote:

> Can any resident C wizard interpret this parameter definition for me?
> 
> > localtime(const time_t * const timep)

You might want a C++ wizard.

timep is a constant pointer to a constant time_t object.

> And, is there a simpler way of saying the same thing?  time_t is
> a long int.  Thanks for any lucid translation....

So long as locatime() promises to not modify the object pointed to by
timep, then locatime(time_t* timep) is simpler.

-- 
Sean Kelly
NOAA Forecast Systems Laboratory
Boulder Colorado USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?326451D7.41C67EA6>