libowfat/scan/scan_httpdate.3

16 lines
409 B
Groff
Raw Normal View History

2003-04-27 17:11:50 +00:00
.TH scan_httpdate 3
.SH NAME
scan_httpdate \- parse a HTTP date
.SH SYNTAX
.B #include <libowfat/scan.h>
2003-04-27 17:11:50 +00:00
2006-11-07 17:56:05 +00:00
size_t \fBscan_httpdate\fP(const char *\fIsrc\fR,time_t *\fIdest\fR);
2003-04-27 17:11:50 +00:00
.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)