From owner-freebsd-hackers Wed Apr 9 10:39:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA03685 for hackers-outgoing; Wed, 9 Apr 1997 10:39:11 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id KAA03670 for ; Wed, 9 Apr 1997 10:38:59 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id KAA07174; Wed, 9 Apr 1997 10:19:42 -0700 From: Terry Lambert Message-Id: <199704091719.KAA07174@phaeton.artisoft.com> Subject: Re: time.h and strptime() To: hudginsj@smtp.dancooks.com (Jason Hudgins) Date: Wed, 9 Apr 1997 10:19:42 -0700 (MST) Cc: hackers@FreeBSD.ORG In-Reply-To: from "Jason Hudgins" at Apr 9, 97 09:00:29 am X-Mailer: ELM [version 2.4 PL24] 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-| Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.