Sender: richdawe AT bigfoot DOT com Message-ID: <3A170569.E5331AE5@bigfoot.com> Date: Sat, 18 Nov 2000 22:40:41 +0000 From: Richard Dawe X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: Hans-Bernhard Broeker , DJGPP newsgroup Subject: Re: Converting an ascii time to time_t References: <8ugpiu$65s$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hello. Hans-Bernhard Broeker wrote: > > Damian Yerrick wrote: > > How can a DJGPP program convert two different time formats to time_t, > > using POSIX functions? > > If I'm not totally mistaken after consulting some Unix systems' > manpages, you can't. At least not easily. The function you would need > is strptime(). But that doesn't seem to be required even by POSIX. > Only the X/Open group standard set of library functions 'XPG4' seems > to include it. It's also defined in the Unix98 specification. See: http://www.unix-systems.org/ or: http://www.opengroup.org/ for a downloadable copy of the spec. BTW did the X/Open Group change into the Open Group? Bye, -- Richard Dawe [ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]