Name
ec_rfc822_date — Renders a timeval into a buffer per RFC822
Synopsis
#include "util.h"
| size_t **ec_rfc822_date** (
| buf, | |
| | maxsize, | |
| | tv)
; | |
char * <var class="pdparam">buf</var>
;
size_t <var class="pdparam">maxsize</var>
;
struct timeval * <var class="pdparam">tv</var>
;
Description
Renders a timeval into a buffer per RFC822.
- buf
-
The target buffer.
- maxsize
-
The size of
buf
in bytes. - tv
-
A struct timeval.
On success this function returns the size of the buffer; on failure it returns 0
.
It is legal to call this function in any thread.
Was this page helpful?