In file util.c:

int modified_since(time_t * mtime, char *if_modified_since)

Decides whether a file's mtime is newer than the If-Modified-Since header of a request

Documentation

Decides whether a file's mtime is newer than the If-Modified-Since header of a request. "Sun, 06 Nov 1994 08:49:37 GMT" -=> RFC 822, updated by RFC 1123. "Sunday, 06-Nov-94 08:49:37 GMT" -=> RFC 850, obsoleted by RFC 1036. "Sun Nov 6 08:49:37 1994" -=> ANSI C's asctime() format.
Returns:
0 if file has not been modified since specified time, 1 if file *has* been modified, and -1 on error.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.