File: scan_httpdate.3

package info (click to toggle)
libowfat 0.34-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,288 kB
  • sloc: ansic: 20,181; makefile: 16
file content (15 lines) | stat: -rw-r--r-- 409 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.TH scan_httpdate 3
.SH NAME
scan_httpdate \- parse a HTTP date
.SH SYNTAX
.B #include <libowfat/scan.h>

size_t \fBscan_httpdate\fP(const char *\fIsrc\fR,time_t *\fIdest\fR);
.SH DESCRIPTION
scan_httpdate parses a date as defined in the HTTP standard into a
time_t.  It returns the number of bytes read from \fIsrc\fR (0 for parse
error).

The only supported time zone is GMT.
.SH "SEE ALSO"
fmt_httpdate(3)