Function to generate HTTP-compliant textual time/date stamp
[the Webserver part]


Functions

void http_datestring (char *buf, size_t n, time_t xtime)
 Supplied with a unix timestamp, generate a textual time/date stamp.

Detailed Description

(This module was lifted directly from the Citadel server source)

Function Documentation

void http_datestring ( char *  buf,
size_t  n,
time_t  xtime 
)

Supplied with a unix timestamp, generate a textual time/date stamp.

Parameters:
buf the return buffer
n the size of the buffer
xtime the time to format as string

Convert "seconds west of GMT" to "hours/minutes offset"

Definition at line 31 of file http_datestring.c.

References snprintf().

Referenced by output_headers().


Generated on Wed Jun 20 23:13:13 2007 for webcit by  doxygen 1.5.2