Mail Archives: djgpp/2004/10/03/23:01:00
On Sun, 03 Oct 2004 18:29:35 GMT in comp.os.msdos.djgpp, CBFalconer
<cbfalconer AT yahoo DOT com> wrote:
>boohiss wrote:
>>
>> It doesn't appear that strptime() comes with DJGPP in time.h.
>>
>> Am I correct? If not, where is it?
>> If so, why isn't it in DJGPP, and what is the workaround?
>
>What is strptime()?
POSIX complement of strftime(): p for parse; accepts same format
directives as strftime().
NAME
strptime - date and time conversion
SYNOPSIS
#include <time.h>
char *strptime(const char *restrict buf, const char *restrict format,
struct tm *restrict tm);
DESCRIPTION
The strptime() function shall convert the character string pointed to
by buf to values which are stored in the tm structure pointed to by
tm, using the format specified by format.
--
Thanks. Take care, Brian Inglis Calgary, Alberta, Canada
Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca)
fake address use address above to reply
- Raw text -