From owner-freebsd-questions Tue Oct 15 20:09:35 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA01865 for questions-outgoing; Tue, 15 Oct 1996 20:09:35 -0700 (PDT) Received: from rosemary.fsl.noaa.gov (rosemary.fsl.noaa.gov [137.75.8.41]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA01858 for ; Tue, 15 Oct 1996 20:09:31 -0700 (PDT) Received: from rosemary.fsl.noaa.gov (rosemary.fsl.noaa.gov [137.75.8.41]) by rosemary.fsl.noaa.gov (8.7.5/8.6.9) with SMTP id VAA01033; Tue, 15 Oct 1996 21:09:12 -0600 (MDT) Message-ID: <326451D7.41C67EA6@fsl.noaa.gov> Date: Tue, 15 Oct 1996 21:09:11 -0600 From: Sean Kelly Organization: NOAA Forecast Systems Laboratory X-Mailer: Mozilla 3.0b6Gold (X11; I; FreeBSD 2.1.5-RELEASE i386) MIME-Version: 1.0 To: Gary Kline CC: FreeBSD Questions Mailgroup Subject: Re: interpretation? References: <199610160045.RAA19446@athena.tera.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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