From owner-freebsd-hackers Thu Apr 10 04:55:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA01353 for hackers-outgoing; Thu, 10 Apr 1997 04:55:05 -0700 (PDT) Received: from aviion.ts.kiev.ua (aviion.ts.kiev.ua [193.124.229.12]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id EAA00991 for ; Thu, 10 Apr 1997 04:53:29 -0700 (PDT) Received: from nbki.ipri.kiev.ua by aviion.ts.kiev.ua with ESMTP id MAA24257; (8.6.11/zah/2.1) Thu, 10 Apr 1997 12:01:58 GMT Received: from cki.ipri.kiev.ua by nbki.ipri.kiev.ua with ESMTP id NAA07980; (8.6.9/zah/1.1) Thu, 10 Apr 1997 13:19:10 +0100 Received: from 194.44.146.14 (mac.ipri.kiev.ua [194.44.146.14]) by cki.ipri.kiev.ua (8.7.6/8.7.3) with SMTP id NAA03635; Thu, 10 Apr 1997 13:21:49 +0300 (EET DST) Message-ID: <334CB15F.1B66@cki.ipri.kiev.ua> Date: Thu, 10 Apr 1997 12:22:35 +0300 From: Ruslan Shevchenko Reply-To: rssh@cki.ipri.kiev.ua Organization: IPRI X-Mailer: Mozilla 3.01Gold (Macintosh; I; 68K) MIME-Version: 1.0 To: jgrosch@FreeGate.net CC: Terry Lambert , hudginsj@smtp.dancooks.com, hackers@freebsd.org Subject: Re: time.h and strptime() References: <199704091819.LAA00286@jgrosch.hq.freegate.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Josef Grosch wrote: > > >> Solaris and gnu's libc both have a strptime() function in the > > ********** > >> standard time.h header... Does freebsd have an equivalent anywhere > > ********** > >> or will I need to hack one out if I want to use it. > > > >This question would be easier to answer if you told it what it does. > > > >If it returns a NULL given any time struct at all, you can use this: > > > > > >#define strptime(timeval) NULL > > > >I kind of doubt that's the behaviour you're looking for? > > > >8-| > > I think he meant strftime(3) which we do support. > What about the source code for strptime, which was in this list some time ago (Subj: strptime code for msql port) It must be in archive. Would it included in libc, libc_r ? If yes --- in what version (of FreeBSD). ? > Josef > > -- > Josef Grosch | Another day closer to a | FreeBSD 2.2.1 > jgrosch@FreeGate.net | Micro$oft free world | UNIX for the masses