delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/10/03/23:01:00

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Trace-PostClient-IP: 68.147.131.211
From: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT Invalid>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: strptime
Organization: Systematic Software
Message-ID: <10e1m09m68jdrvuuvn9p3cbecad1b9rj41@4ax.com>
References: <opsgwbcsd67iosox AT boohiss-927a07e> <416043A7 DOT 5F1A3706 AT yahoo DOT com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Lines: 37
Date: Mon, 04 Oct 2004 02:51:15 GMT
NNTP-Posting-Host: 24.71.223.147
X-Complaints-To: abuse AT shaw DOT ca
X-Trace: pd7tw3no 1096858275 24.71.223.147 (Sun, 03 Oct 2004 20:51:15 MDT)
NNTP-Posting-Date: Sun, 03 Oct 2004 20:51:15 MDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019