This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Questions about strptime()/strftime()


On Sat, Jun 21, 2008 at 1:57 PM, Richard Harvey Chapman
<hchapman@3gfp.com> wrote:
>  result = strptime(str, format, &tt2_r);

This returns "Illegal seek" because "%F", "%z", and "%Z" are not valid
formats which strptime can convert.

1. Please see http://www.opengroup.org/onlinepubs/009695399/functions/strptime.html
for the full list.
2. Remember to check return values.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]