~ubuntu-branches/ubuntu/edgy/curl/edgy

« back to all changes in this revision

Viewing changes to docs/libcurl/curl_getdate.3

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2005-07-26 19:03:01 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20050726190301-x2m2vmjgc8fwnic5
Tags: 7.14.0-2ubuntu1
Synchronize with Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" You can view this file with:
2
2
.\" nroff -man [file]
3
 
.\" $Id: curl_getdate.3,v 1.6 2004/11/15 21:41:21 bagder Exp $
 
3
.\" $Id: curl_getdate.3,v 1.8 2005/03/08 16:31:56 bagder Exp $
4
4
.\"
5
5
.TH curl_getdate 3 "5 March 2001" "libcurl 7.0" "libcurl Manual"
6
6
.SH NAME
41
41
UTC. Supported formats include: -1200, MST, +0100.
42
42
.TP
43
43
.B day of the week items
44
 
Specifies a day of the week. Days of the week may be spelled out in full:
45
 
`Sunday', `Monday', etc or they may be abbreviated to their first three
46
 
letters. This is usually not info that adds anything.
 
44
Specifies a day of the week. Days of the week may be spelled out in full
 
45
(using english): `Sunday', `Monday', etc or they may be abbreviated to their
 
46
first three letters. This is usually not info that adds anything.
47
47
.TP
48
48
.B pure numbers
49
49
If a decimal number of the form YYYYMMDD appears, then YYYY is read as the
85
85
returns the number of seconds as described.
86
86
 
87
87
If the year is larger than 2037 on systems with 32 bit time_t, this function
88
 
will return 0x7fffffff (since that is the largest possible 31 bit number).
 
88
will return 0x7fffffff (since that is the largest possible signed 32 bit
 
89
number).
 
90
 
 
91
Having a 64 bit time_t is not a guarantee that dates beyond 03:14:07 UTC,
 
92
January 19, 2038 will work fine. On systems with a 64 bit time_t but with a
 
93
crippled mktime(), \fIcurl_getdate\fP will return -1 in this case.
89
94
.SH REWRITE
90
95
The former version of this function was built with yacc and was not only very
91
96
large, it was also never quite understood and it wasn't possible to build with