From: "Tim Van Holder" To: "DJGPP-Workers" Subject: POSIX getdate() function Date: Tue, 19 Jun 2001 22:49:34 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Reply-To: djgpp-workers AT delorie DOT com I'd like to implement the POSIX getdate() function (parses a given string using a set of possible format specs and returns a struct tm* with the corresponding date/time), mainly because it looks like a challenge. Of course, there is also the not-so-POSIX DOS getdate() function. What is the recommended way of dealing with this? a) not implementing the POSIX getdate() function b) use _posix_getdate as name, with a #define to getdate in time.h c) rename the DOS getdate to _dos_getdate and place a define to getdate in dos.h d) some other resolution