From owner-freebsd-hackers Wed Apr 9 11:19:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA05925 for hackers-outgoing; Wed, 9 Apr 1997 11:19:46 -0700 (PDT) Received: from mailhost-hq.freegate.net ([205.178.36.9]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id LAA05918 for ; Wed, 9 Apr 1997 11:19:38 -0700 (PDT) From: Josef Grosch Received: (qmail 7516 invoked by alias); 9 Apr 1997 18:20:03 -0000 Received: from h235.free-gate.com (HELO jgrosch.hq.freegate.net) (205.178.20.235) by h254.free-gate.com with SMTP; 9 Apr 1997 18:20:03 -0000 Received: (from jgrosch@localhost) by jgrosch.hq.freegate.net (8.7.6/8.7.3) id LAA00286; Wed, 9 Apr 1997 11:19:04 -0700 (PDT) Message-Id: <199704091819.LAA00286@jgrosch.hq.freegate.net> Subject: Re: time.h and strptime() In-Reply-To: <199704091719.KAA07174@phaeton.artisoft.com> from Terry Lambert at "Apr 9, 97 10:19:42 am" To: terry@lambert.org (Terry Lambert) Date: Wed, 9 Apr 1997 11:19:04 -0700 (PDT) Cc: hudginsj@smtp.dancooks.com, hackers@freebsd.org Reply-To: jgrosch@FreeGate.net X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> 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. Josef -- Josef Grosch | Another day closer to a | FreeBSD 2.2.1 jgrosch@FreeGate.net | Micro$oft free world | UNIX for the masses