Date: Mon, 24 Mar 1997 11:36:32 -0500 (EST) From: James FitzGibbon <james@nexis.net> To: freebsd-hackers@freebsd.org Subject: Replacement for strptime(3) ? Message-ID: <Pine.BSF.3.95q.970324112953.21548D-100000@nexis.net>
next in thread | raw e-mail | index | archive | help
I'm looking for a replacement for strptime in order to complete a port. The calls in the source code look like this : strptime(date,"%d-%b-%Y", &locTime); >From what I can tell, strptime is the inverse of strftime, taking a string in ctime(3) format, a format specifier, and returning a time_t struct. Unfortunately, the call is not including in the standard FreeBSD libc. If it's available as a standard add-on library, I'd be happy to port that and make the new port rely on it. Otherwise, since there is only one call to strptime and the format specifier is static, I could write a relatively simple wrapper for it. Any help is appreciated. -- j.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970324112953.21548D-100000>